summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0001-sanity-checks.sh2
-rwxr-xr-xtests/t0010-generate-tests.sh2
-rwxr-xr-xtests/t0020-show-tests.sh4
-rwxr-xr-xtests/t0050-mv-tests.sh2
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/t0001-sanity-checks.sh b/tests/t0001-sanity-checks.sh
index 111f21d..e6be9ea 100755
--- a/tests/t0001-sanity-checks.sh
+++ b/tests/t0001-sanity-checks.sh
@@ -8,7 +8,7 @@ test_expect_success 'Make sure we can run pass' '
'
test_expect_success 'Make sure we can initialize our test store' '
- pass init $KEY1 &&
+ $PASS init $KEY1 &&
[[ -e "$PASSWORD_STORE_DIR/.gpg-id" ]] &&
[[ $(cat "$PASSWORD_STORE_DIR/.gpg-id") == "$KEY1" ]]
'
diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh
index 66660de..d717c00 100755
--- a/tests/t0010-generate-tests.sh
+++ b/tests/t0010-generate-tests.sh
@@ -4,7 +4,7 @@ test_description='Test generate'
. ./setup.sh
test_expect_success 'Test "generate" command' '
- pass init $KEY1 &&
+ $PASS init $KEY1 &&
$PASS generate cred 19 &&
[[ $($PASS show cred | wc -m) -eq 20 ]]
'
diff --git a/tests/t0020-show-tests.sh b/tests/t0020-show-tests.sh
index 059f537..6bd0165 100755
--- a/tests/t0020-show-tests.sh
+++ b/tests/t0020-show-tests.sh
@@ -4,8 +4,8 @@ test_description='Test show'
. ./setup.sh
test_expect_success 'Test "show" command' '
- pass init $KEY1 &&
- pass generate cred1 20 &&
+ $PASS init $KEY1 &&
+ $PASS generate cred1 20 &&
$PASS show cred1
'
diff --git a/tests/t0050-mv-tests.sh b/tests/t0050-mv-tests.sh
index 10a33f8..57472c1 100755
--- a/tests/t0050-mv-tests.sh
+++ b/tests/t0050-mv-tests.sh
@@ -7,7 +7,7 @@ TEST_CRED="test_cred"
TEST_CRED_NEW="test_cred_new"
test_expect_success 'Test "mv" command' '
- pass init $KEY1 &&
+ $PASS init $KEY1 &&
$PASS generate cred1 39 &&
$PASS mv cred1 cred2 &&
[[ -e $PASSWORD_STORE_DIR/cred2.gpg && ! -e $PASSWORD_STORE_DIR/cred1.gpg ]]