Skip to content
Snippets Groups Projects
Commit 5831c0a8 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests/manual/gl: Don't bind-mount in .Xauthority if it doesn't exist


It doesn't exist on GNOME Wayland: XWayland relies on SO_PEERCRED
for authentication.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 8cfe9379
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -892,7 +892,9 @@ if (@dri_path) {
}
push @bwrap, '--setenv', 'DISPLAY', $ENV{DISPLAY};
push @bwrap, '--ro-bind', "$ENV{HOME}/.Xauthority", "$ENV{HOME}/.Xauthority";
push @bwrap, '--ro-bind', "$ENV{HOME}/.Xauthority",
"$ENV{HOME}/.Xauthority" if -e "$ENV{HOME}/.Xauthority";
if (@ARGV) {
run_ok([@bwrap, @ARGV]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment