view ci/setup-xvfb.sh @ 33519:9590b7cf5a51 v9.0.2008

patch 9.0.2008: test: undofile left behind Commit: https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef Author: Dominique Pell? <dominique.pelle@tomtom.com> Date: Mon Oct 9 18:07:24 2023 +0200 patch 9.0.2008: test: undofile left behind Problem: test: undofile left behind Solution: cleanup undofile fix: tmp file not deleted when running make test_undo Temporary file `.Xtestfile.txt.un~` was left running `make test_undo` and vim was configured with: ``` ./configure --with-features=normal --enable-gui=no --enable-terminal ``` closes: #13304 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Dominique Pell? <dominique.pelle@tomtom.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Oct 2023 18:15:05 +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