view ci/setup-xvfb.sh @ 23215:62310124e265 v8.2.2153

patch 8.2.2153: popupwin test for latin1 still fails sometimes Commit: https://github.com/vim/vim/commit/b125b535bb0456ab43c10683307a4bc359442d44 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 21:56:09 2020 +0100 patch 8.2.2153: popupwin test for latin1 still fails sometimes Problem: Popupwin test for latin1 still fails sometimes. Solution: Wait for the "cat" command to finish.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 22:00: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