view ci/setup-xvfb.sh @ 26325:c189c40c9a22 v8.2.3693

patch 8.2.3693: Coverity warns for possibly using a NULL pointer Commit: https://github.com/vim/vim/commit/293eb9ba4669b1500370502397d399681e7098f0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 29 10:36:19 2021 +0000 patch 8.2.3693: Coverity warns for possibly using a NULL pointer Problem: Coverity warns for possibly using a NULL pointer. Solution: Check for NULL and give an error.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Nov 2021 11:45: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