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/t0200-edit-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/t0200-edit-tests.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t0200-edit-tests.sh b/tests/t0200-edit-tests.sh index dfc0d10..58e3f31 100755 --- a/tests/t0200-edit-tests.sh +++ b/tests/t0200-edit-tests.sh @@ -4,12 +4,12 @@ test_description='Test edit' . ./setup.sh test_expect_success 'Test "edit" command' ' - pass init $KEY1 && - pass generate cred1 90 && + "$PASS" init $KEY1 && + "$PASS" generate cred1 90 && export FAKE_EDITOR_PASSWORD="big fat fake password" && export EDITOR="$TEST_HOME/fake-editor-change-password.sh" && - pass edit cred1 && - [[ $(pass show cred1) == "$FAKE_EDITOR_PASSWORD" ]] + "$PASS" edit cred1 && + [[ $("$PASS" show cred1) == "$FAKE_EDITOR_PASSWORD" ]] ' test_done |