m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0100-insert-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/t0100-insert-tests.sh
parent31119bfcd019bf6820450664f2dbbe70340d20d8 (diff)
Turns out aliases were a bad idea.
Diffstat (limited to 'tests/t0100-insert-tests.sh')
-rwxr-xr-xtests/t0100-insert-tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t0100-insert-tests.sh b/tests/t0100-insert-tests.sh
index 5820e45..6194ceb 100755
--- a/tests/t0100-insert-tests.sh
+++ b/tests/t0100-insert-tests.sh
@@ -4,9 +4,9 @@ test_description='Test insert'
. ./setup.sh
test_expect_success 'Test "insert" command' '
- pass init $KEY1 &&
- echo "Hello world" | pass insert -e cred1 &&
- [[ $(pass show cred1) == "Hello world" ]]
+ "$PASS" init $KEY1 &&
+ echo "Hello world" | "$PASS" insert -e cred1 &&
+ [[ $("$PASS" show cred1) == "Hello world" ]]
'
test_done