view ci/setup-xvfb.sh @ 26522:c6a57c46271e v8.2.3790

patch 8.2.3790: test for term_gettitle() fails in some environments Commit: https://github.com/vim/vim/commit/3bb79dc191a1dec14606b1b94b968a6808906700 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 12 18:50:19 2021 +0000 patch 8.2.3790: test for term_gettitle() fails in some environments Problem: Test for term_gettitle() fails in some environments. Solution: Make the digits after "VIM" optional. (Kenta Sato, closes https://github.com/vim/vim/issues/9334)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Dec 2021 20:00: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