view ci/setup-xvfb.sh @ 28827:91b2386b9d9e v8.2.4937

patch 8.2.4937: no test for what 8.2.4931 fixes Commit: https://github.com/vim/vim/commit/ead241538cdd26cbf02599b6e23cd8baeafbcbb2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 10 21:11:12 2022 +0100 patch 8.2.4937: no test for what 8.2.4931 fixes Problem: No test for what 8.2.4931 fixes. Solution: Add a test that triggers a valgrind error.
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 May 2022 22:15:02 +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