summaryrefslogtreecommitdiff
path: root/tests/t0060-rm-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtests/t0060-rm-tests.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t0060-rm-tests.sh b/tests/t0060-rm-tests.sh
index f434794..d53d7da 100755
--- a/tests/t0060-rm-tests.sh
+++ b/tests/t0060-rm-tests.sh
@@ -4,14 +4,14 @@ test_description='Test rm'
. ./setup.sh
test_expect_success 'Test "rm" command' '
- pass init $KEY1 &&
- pass generate cred1 43 &&
- echo "y" | pass rm cred1 &&
+ "$PASS" init $KEY1 &&
+ "$PASS" generate cred1 43 &&
+ echo "y" | "$PASS" rm cred1 &&
[[ ! -e $PASSWORD_STORE_DIR/cred1.gpg ]]
'
test_expect_success 'Test "rm" of non-existent password' '
- test_must_fail pass rm does-not-exist
+ test_must_fail "$PASS" rm does-not-exist
'
test_done