view ci/setup-xvfb.sh @ 24204:ec71c859e94c v8.2.2643

patch 8.2.2643: various code not covered by tests Commit: https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 22 19:37:06 2021 +0100 patch 8.2.2643: various code not covered by tests Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/7995)
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Mar 2021 19:45: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