From: Simon McVittie Date: Tue, 3 Jan 2023 11:15:07 +0000 (+0000) Subject: d/tests/run-with-display: Use absolute path to WAYLAND_DISPLAY socket X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eccbb00e28b0e66c811531ee0f45c9a6d25548da;p=gtk4.git d/tests/run-with-display: Use absolute path to WAYLAND_DISPLAY socket This means we can still use the Wayland display, even when dh_auto_test changes our XDG_RUNTIME_DIR. --- diff --git a/debian/tests/run-with-display b/debian/tests/run-with-display index 3fa2d46e3b..0391e607f3 100755 --- a/debian/tests/run-with-display +++ b/debian/tests/run-with-display @@ -47,7 +47,7 @@ case "$display" in echo "Waiting for socket..." sleep 1 done - env -u DISPLAY WAYLAND_DISPLAY="$socket" "$@" + env -u DISPLAY WAYLAND_DISPLAY="$XDG_RUNTIME_DIR/$socket" "$@" exit $? ;; x11)