summaryrefslogtreecommitdiff
path: root/tests/020-xauth-add-local.script
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-30 15:11:43 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-30 17:22:18 -0800
commit5598b8612b095d9f5f513ada2a4bbacaca1bfea8 (patch)
tree2e5deeba37adb017421b2088cca051afd9dc265e /tests/020-xauth-add-local.script
parent3d6519f11867183b9698cbf8cc9515bc767b98af (diff)
downloadxorg-app-xauth-5598b8612b095d9f5f513ada2a4bbacaca1bfea8.tar.gz
tests: make tests work in out-of-tree builds
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'tests/020-xauth-add-local.script')
-rwxr-xr-xtests/020-xauth-add-local.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/020-xauth-add-local.script b/tests/020-xauth-add-local.script
index c8ccf9c..58d5b93 100755
--- a/tests/020-xauth-add-local.script
+++ b/tests/020-xauth-add-local.script
@@ -1,7 +1,7 @@
#!/bin/sh
-# setup the test ennvironment inside this shell
-. ./setup-sourced
+# setup the test environment inside this shell
+. ${srcdir:-.}/setup-sourced
# Execute the test
xauth add unix:0 . b90b0fd1cf6a0e7a2c74c00000000004