m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0020-show-tests.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-24 03:21:44 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-24 03:21:44 +0200
commita759d964e40d160d901052ec90e53c5acbe60355 (patch)
tree7b84764c40b49d662412ed7e9f3e3cd62544eee1 /tests/t0020-show-tests.sh
parent31119bfcd019bf6820450664f2dbbe70340d20d8 (diff)
Turns out aliases were a bad idea.
Diffstat (limited to 'tests/t0020-show-tests.sh')
-rwxr-xr-xtests/t0020-show-tests.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t0020-show-tests.sh b/tests/t0020-show-tests.sh
index ede7cd1..f08c71d 100755
--- a/tests/t0020-show-tests.sh
+++ b/tests/t0020-show-tests.sh
@@ -4,13 +4,13 @@ test_description='Test show'
. ./setup.sh
test_expect_success 'Test "show" command' '
- pass init $KEY1 &&
- pass generate cred1 20 &&
- pass show cred1
+ "$PASS" init $KEY1 &&
+ "$PASS" generate cred1 20 &&
+ "$PASS" show cred1
'
test_expect_success 'Test "show" of nonexistant password' '
- test_must_fail pass show cred2
+ test_must_fail "$PASS" show cred2
'
test_done