view ci/setup-xvfb.sh @ 29845:349517ab7398 v9.0.0261

patch 9.0.0261: bufload() reads a file even if the name is not a file name Commit: https://github.com/vim/vim/commit/2eddbacd6dc17c84e4bdc41e60e81949a36bb973 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 25 12:45:21 2022 +0100 patch 9.0.0261: bufload() reads a file even if the name is not a file name Problem: bufload() reads a file even if the name is not a file name. (Cyker Way) Solution: Do not read the file when the buffer name is not a file name. (closes #10975)
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Aug 2022 14:00: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