summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@qt.io>2021-11-29 16:24:24 +0100
committerDimitrios Apostolou <jimis@qt.io>2021-12-17 07:03:25 +0100
commitdf0351836e3c008bff4326e0e52e764399d328b0 (patch)
tree328841148fc26305e9365cf7c6623b3294af37e6 /tests/auto/testlib
parent18bc5d652f8845579b27e6a8e87e167a38e7066e (diff)
Fix helper script to run successfully on X11
Without the fix, some tests from tst_selftests were failing with: Invalid MIT-MAGIC-COOKIE-1 key Change-Id: I2d07f28d9b2c69fe8575fdf10b362d962f456970 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/testlib')
-rwxr-xr-xtests/auto/testlib/selftests/generate_expected_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/generate_expected_output.py b/tests/auto/testlib/selftests/generate_expected_output.py
index 7f639a6efd..0dc6748f08 100755
--- a/tests/auto/testlib/selftests/generate_expected_output.py
+++ b/tests/auto/testlib/selftests/generate_expected_output.py
@@ -225,7 +225,7 @@ del re
def baseEnv(platname=None,
keep=('PATH', 'QT_QPA_PLATFORM'),
posix=('HOME', 'USER', 'QEMU_SET_ENV', 'QEMU_LD_PREFIX'),
- nonapple=('DISPLAY', 'XAUTHLOCALHOSTNAME'), # and XDG_*
+ nonapple=('DISPLAY', 'XAUTHORITY', 'XAUTHLOCALHOSTNAME'), # and XDG_*
# Don't actually know how to test for QNX, so this is ignored:
qnx=('GRAPHICS_ROOT', 'TZ'),
# Probably not actually relevant