view ci/setup-xvfb.sh @ 24339:236e9ebdb30e v8.2.2710

patch 8.2.2710: Vim9: not all tests cover script and :def function Commit: https://github.com/vim/vim/commit/90193e6140e5e7f1945e3e144a95697b0e16237a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 4 20:49:50 2021 +0200 patch 8.2.2710: Vim9: not all tests cover script and :def function Problem: Vim9: not all tests cover script and :def function. Solution: Run tests in both if possible. Fix differences.
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Apr 2021 21:00:04 +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