diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-07-29 11:25:25 -0700 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-07-29 11:25:25 -0700 |
commit | cce44bd8b847a2900f3d17b43f69b261ac6fe46a (patch) | |
tree | 5ff6dced7cf04fefd687db3bdb9b6cbda8ce4557 /tests | |
parent | 8812e3260cd60204089ca08995a86d1632780612 (diff) |
Add some more debugging output to fake-sudo test script
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/data/fake-sudo | 14 |
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' ] |