diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 03:21:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 03:21:44 +0200 |
commit | a759d964e40d160d901052ec90e53c5acbe60355 (patch) | |
tree | 7b84764c40b49d662412ed7e9f3e3cd62544eee1 /tests/t0100-insert-tests.sh | |
parent | 31119bfcd019bf6820450664f2dbbe70340d20d8 (diff) | |
download | pass-a759d964e40d160d901052ec90e53c5acbe60355.tar.gz pass-a759d964e40d160d901052ec90e53c5acbe60355.tar.bz2 pass-a759d964e40d160d901052ec90e53c5acbe60355.zip |
Turns out aliases were a bad idea.
Diffstat (limited to '')
-rwxr-xr-x | tests/t0100-insert-tests.sh | 6 |
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 |