view ci/setup-xvfb.sh @ 31873:7c690775716c v9.0.1269

patch 9.0.1269: channel test often fails on Mac OS Commit: https://github.com/vim/vim/commit/b40c1de38442a26f31efb8473adec7fad560f3d0 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 31 21:01:08 2023 +0000 patch 9.0.1269: channel test often fails on Mac OS Problem: Channel test often fails on Mac OS. Solution: Increase the wait time from one to 15 milliseconds. (D. Ben Knoble, closes #11894)
author Bram Moolenaar <Bram@vim.org>
date Tue, 31 Jan 2023 22:15:03 +0100
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