summaryrefslogtreecommitdiff
path: root/tests/040-xauth-source.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/040-xauth-source.script')
-rwxr-xr-xtests/040-xauth-source.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/040-xauth-source.script b/tests/040-xauth-source.script
index 01c27ab..5eceb4c 100755
--- a/tests/040-xauth-source.script
+++ b/tests/040-xauth-source.script
@@ -1,10 +1,10 @@
#!/bin/sh
# setup the test ennvironment inside this shell
-. setup-sourced
+. ./setup-sourced
# Execute the test
-CMDFILE=$DATADIR/xauth-cmdfile
+CMDFILE=${DATADIR:-/tmp}/xauth-cmdfile
echo add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001 > $CMDFILE
xauth_silent source $CMDFILE
xauth list