view ci/setup-xvfb.sh @ 28708:094a70434f90 v8.2.4878

patch 8.2.4878: valgrind warning for using uninitialized variable Commit: https://github.com/vim/vim/commit/dd7eff0a755c40eb88b494b98ac1a24f858ba880 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 6 11:02:05 2022 +0100 patch 8.2.4878: valgrind warning for using uninitialized variable Problem: Valgrind warning for using uninitialized variable. Solution: Initialize the type of newtv.
author Bram Moolenaar <Bram@vim.org>
date Fri, 06 May 2022 12:15: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