view ci/setup-xvfb.sh @ 27507:b8a5de86e9d1 v8.2.4281

patch 8.2.4281: using freed memory with :lopen and :bwipe Commit: https://github.com/vim/vim/commit/9b4a80a66544f2782040b641498754bcb5b8d461 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 1 13:54:17 2022 +0000 patch 8.2.4281: using freed memory with :lopen and :bwipe Problem: Using freed memory with :lopen and :bwipe. Solution: Do not use a wiped out buffer.
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Feb 2022 15:00:05 +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