view ci/setup-xvfb.sh @ 29363:4e48651f2e48 v9.0.0024

patch 9.0.0024: may access part of typeahead buf that isn't filled Commit: https://github.com/vim/vim/commit/af043e12d9e5869c597de40b9a2517ae97ac72e7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 2 12:08:16 2022 +0100 patch 9.0.0024: may access part of typeahead buf that isn't filled Problem: May access part of typeahead buf that isn't filled. Solution: Check length of typeahead.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Jul 2022 13:15:02 +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