view ci/setup-xvfb.sh @ 27092:6d063974af23 v8.2.4075

patch 8.2.4075: test failures Commit: https://github.com/vim/vim/commit/78a70533c3707aa50cbf998c7807221945aa9787 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 13 13:24:34 2022 +0000 patch 8.2.4075: test failures Problem: Test failures. Solution: Change check for NULL pointer.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Jan 2022 14:30:04 +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