summaryrefslogtreecommitdiff
path: root/tests/030-xauth-extract.script
diff options
context:
space:
mode:
authorDr. Tilmann Bubeck <tilmann@bubecks.de>2021-11-29 12:30:17 +0100
committerDr. Tilmann Bubeck <tilmann@bubecks.de>2021-11-29 12:30:17 +0100
commit5da9a32e638f4bce66ec92dff64ed68a1bbd6b6b (patch)
tree4ec1c00479700d417f69edfd5c7d0e09b3a02352 /tests/030-xauth-extract.script
parentd6d1423fabdaec25d4a677e794f91a91f7c09c70 (diff)
downloadxorg-app-xauth-5da9a32e638f4bce66ec92dff64ed68a1bbd6b6b.tar.gz
Removed build requirement "cmdtest".
Replaced by a shell script with the needed functionality.
Diffstat (limited to 'tests/030-xauth-extract.script')
-rwxr-xr-xtests/030-xauth-extract.script6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/030-xauth-extract.script b/tests/030-xauth-extract.script
index 2327788..41733fb 100755
--- a/tests/030-xauth-extract.script
+++ b/tests/030-xauth-extract.script
@@ -1,7 +1,7 @@
#!/bin/sh
# setup the test ennvironment inside this shell
-. setup-sourced
+. ./setup-sourced
# Execute the test
xauth add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001
@@ -9,11 +9,11 @@ xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002
xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003
# Use xauth_silent because otherwise the system dependent paths are printed
-XAUTHORITY2=$DATADIR/.Xauthority2
+XAUTHORITY2=${DATADIR:-/tmp}/.Xauthority2
xauth_silent extract $XAUTHORITY2 examplehost2/unix:0
xauth_silent -f $XAUTHORITY2 list
-XAUTHORITY3=$DATADIR/.Xauthority3
+XAUTHORITY3=${DATADIR:-/tmp}/.Xauthority3
xauth_silent extract $XAUTHORITY3 examplehost3/unix:0
xauth_silent -f $XAUTHORITY3 list