password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 59272fc6af05dfc603c9230dbded251344e2380c
parent 57e3fe63c00241f1a2abef4d7023ab92d680c9ce
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Wed, 23 Apr 2014 18:01:53 +0200

Use real pass location.

Diffstat:
Mtests/t0001-sanity-checks.sh | 2+-
Mtests/t0010-generate-tests.sh | 2+-
Mtests/t0020-show-tests.sh | 4++--
Mtests/t0050-mv-tests.sh | 2+-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -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 ]]