summaryrefslogtreecommitdiff
path: root/tests/040-xauth-source.script
diff options
context:
space:
mode:
authorDr. Tilmann Bubeck <t.bubeck@reinform.de>2013-10-06 14:16:59 +0200
committerDr. Tilmann Bubeck <t.bubeck@reinform.de>2013-10-06 14:16:59 +0200
commit10cbe2ed2a96582e7ee9fa5cfe6f8f69a3a4e4d4 (patch)
tree249eb52181f60840a91e36ea7e067c7f91f7d66b /tests/040-xauth-source.script
parent3be53072f8252962c6df740e64e897b970ae0349 (diff)
downloadxorg-app-xauth-10cbe2ed2a96582e7ee9fa5cfe6f8f69a3a4e4d4.tar.gz
Added black box tests for basic functionality started with "make check".
Diffstat (limited to 'tests/040-xauth-source.script')
-rwxr-xr-xtests/040-xauth-source.script10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/040-xauth-source.script b/tests/040-xauth-source.script
new file mode 100755
index 0000000..9909204
--- /dev/null
+++ b/tests/040-xauth-source.script
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# setup the test ennvironment inside this shell
+. setup-sourced
+
+# Execute the test
+CMDFILE=$DATADIR/xauth-cmdfile
+echo add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001 > $CMDFILE
+xauth_silent source $CMDFILE
+xauth list