view ci/setup-xvfb.sh @ 26554:7a74515dde6b v8.2.3806

patch 8.2.3806: terminal focus test fails sometimes Commit: https://github.com/vim/vim/commit/c2958585f6c7ce4d822d3191ba501c0757b3ffff Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 14 11:16:31 2021 +0000 patch 8.2.3806: terminal focus test fails sometimes Problem: Terminal focus test fails sometimes. Solution: Run the test function before others.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 12:30:03 +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