view ci/setup-xvfb.sh @ 25927:2e82629dbd90 v8.2.3497

patch 8.2.3497: put test fails when run by itself Commit: https://github.com/vim/vim/commit/a9173d06f7ca320fc84f4ffa993861d21710bc41 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Oct 11 20:26:55 2021 +0100 patch 8.2.3497: put test fails when run by itself Problem: Put test fails when run by itself. Solution: Source check.vim. (Dominique Pell?, closes https://github.com/vim/vim/issues/8990)
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 Oct 2021 21:30:03 +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