view ci/setup-xvfb.sh @ 25509:7ed54019fbb8 v8.2.3291

patch 8.2.3291: Coverity warns for not checking return value Commit: https://github.com/vim/vim/commit/4a01159da23a279005b7c5042a15af47eb9617fe Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 5 15:11:08 2021 +0200 patch 8.2.3291: Coverity warns for not checking return value Problem: Coverity warns for not checking return value. Solution: If dict_add() fails give an error message.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Aug 2021 15:15:06 +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