From eccbb00e28b0e66c811531ee0f45c9a6d25548da Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 3 Jan 2023 11:15:07 +0000 Subject: [PATCH] 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. --- debian/tests/run-with-display | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2