view ci/setup-xvfb.sh @ 32112:a7bb18247994 v9.0.1387

patch 9.0.1387: scrollbar test sporadically fails Commit: https://github.com/vim/vim/commit/cf3c1ca276aa8f9fada7b7cd0197bbb0f91e0950 Author: Christian Brabandt <cb@256bit.org> Date: Mon Mar 6 15:29:29 2023 +0000 patch 9.0.1387: scrollbar test sporadically fails Problem: Scrollbar test sporadically fails. Solution: Mark the scrollbar test as flaky. (Christian Brabandt, closes #12113)
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Mar 2023 16:30:04 +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