view ci/setup-xvfb.sh @ 29912:c9ff1715f03d v9.0.0294

patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used Commit: https://github.com/vim/vim/commit/43568648dfefe5796dc3fe8fe711135eb20d9eb6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 13:02:45 2022 +0100 patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used Problem: Crash when 'cmdheight' is 0 and popup_clear() used. Solution: Reset "message_win" when the message popup is cleared. Close the popup when 'cmdheight' is non-zero. Add a screendump test.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 14:15:03 +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