diff options
author | Simon McVittie <smcv@collabora.com> | 2022-01-26 15:52:49 +0000 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2022-02-11 15:25:50 +0100 |
commit | c3395a0e8307ff3dcab37169998d5155da3aacca (patch) | |
tree | cd5a74231eca1a98cbab3caeffaaa5dd6901fa14 /tests | |
parent | 18db8e8713c11582f84d2f0f073b3d666100c0fa (diff) | |
download | flatpak-c3395a0e8307ff3dcab37169998d5155da3aacca.tar.gz |
run: Treat DISPLAY=unix:42 the same as :42
xauth and xcb both treat this as a request to use AF_UNIX.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testcommon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testcommon.c b/tests/testcommon.c index dfc2c486..aecf21e0 100644 --- a/tests/testcommon.c +++ b/tests/testcommon.c @@ -1779,6 +1779,7 @@ static const DisplayTest x11_display_tests[] = { ":0", FamilyLocal, "/tmp/.X11-unix/X0", NULL, "0" }, { ":0.0", FamilyLocal, "/tmp/.X11-unix/X0", NULL, "0" }, { ":42.0", FamilyLocal, "/tmp/.X11-unix/X42", NULL, "42" }, + { "unix:42", FamilyLocal, "/tmp/.X11-unix/X42", NULL, "42" }, { "othermachine:23", FamilyWild, NULL, "othermachine", "23" }, { "bees.example.com:23", FamilyWild, NULL, "bees.example.com", "23" }, { "[::1]:0", FamilyInternet6, NULL, "::1", "0" }, |