summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-07-29 11:25:25 -0700
committerRuss Allbery <eagle@eyrie.org>2016-07-29 11:25:25 -0700
commitcce44bd8b847a2900f3d17b43f69b261ac6fe46a (patch)
tree5ff6dced7cf04fefd687db3bdb9b6cbda8ce4557 /tests
parent8812e3260cd60204089ca08995a86d1632780612 (diff)
Add some more debugging output to fake-sudo test script
Diffstat (limited to 'tests')
-rwxr-xr-xtests/data/fake-sudo14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/data/fake-sudo b/tests/data/fake-sudo
index 9e639c0..3f4f3f1 100755
--- a/tests/data/fake-sudo
+++ b/tests/data/fake-sudo
@@ -19,13 +19,13 @@ set -e
plan 10
# Check the arguments.
-ok 'argument 1' [ "$1" = '-u' ]
-ok 'argument 2' [ "$2" = 'testuser' ]
-ok 'argument 3' [ "$3" = '--' ]
-ok 'argument 4' [ "$4" = '/some/program' ]
-ok 'argument 5' [ "$5" = 'foo' ]
-ok 'argument 6' [ "$6" = 'bar' ]
-ok 'argument 7' [ "$7" = 'baz' ]
+ok "argument 1: $1" [ "$1" = '-u' ]
+ok "argument 2: $2" [ "$2" = 'testuser' ]
+ok "argument 3: $3" [ "$3" = '--' ]
+ok "argument 4: $4" [ "$4" = '/some/program' ]
+ok "argument 5: $5" [ "$5" = 'foo' ]
+ok "argument 6: $6" [ "$6" = 'bar' ]
+ok "argument 7: $7" [ "$7" = 'baz' ]
# Check standard input.
ok 'standard input' [ "`cat`" = 'stdin' ]