view ci/setup-xvfb.sh @ 33144:9c34366acd4e v9.0.1854

patch 9.0.1854: test_crash1() fails on CI Commit: https://github.com/vim/vim/commit/db510ca8052884fd260f425025bacf44f6c92fa9 Author: Christian Brabandt <cb@256bit.org> Date: Sun Sep 3 09:23:12 2023 +0200 patch 9.0.1854: test_crash1() fails on CI Problem: test_crash1() fails on CI Solution: don't run Screendump test, verify that it doesn't crash by running it through a shell command line, testing the exit value and concatenating success cmd using '&&' Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Sep 2023 09:45: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