view ci/setup-xvfb.sh @ 30493:3d09e9fe748b v9.0.0582

patch 9.0.0582: channel cwd test fails on Cirrus CI Commit: https://github.com/vim/vim/commit/ec1238b4068d0d6d9d02ac1a8e61720224a1be73 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 25 11:21:04 2022 +0100 patch 9.0.0582: channel cwd test fails on Cirrus CI Problem: Channel cwd test fails on Cirrus CI. Solution: Also remove /private from the expected directory.
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Sep 2022 12:30:05 +0200
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service