view ci/setup-xvfb.sh @ 27936:07aea9530e05 v8.2.4493

patch 8.2.4493: options test fails in the GUI Commit: https://github.com/vim/vim/commit/b9c510859360595c046b8b7c1d6828125525e967 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 2 20:12:03 2022 +0000 patch 8.2.4493: options test fails in the GUI Problem: Options test fails in the GUI. Solution: Do not save and restore 'term'.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Mar 2022 21:15: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