view ci/setup-xvfb.sh @ 23911:30e3a7a33b66 v8.2.2498

patch 8.2.2498: no test for what 8.2.2494 fixes Commit: https://github.com/vim/vim/commit/5affc034680a95eabfbfca763bedf86ae0a79c44 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 11 18:36:30 2021 +0100 patch 8.2.2498: no test for what 8.2.2494 fixes Problem: No test for what 8.2.2494 fixes. Solution: Add a simple change to test the fix. (closes https://github.com/vim/vim/issues/7818)
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 Feb 2021 18:45: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