diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 18:16:53 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 18:16:53 +0200 |
commit | 685d094023e2edbd130a7c86d46e7fd79a62e8af (patch) | |
tree | a22de1cb3f2e1238d97e8d7292b6ad80ca29ef0f /tests/t0001-sanity-checks.sh | |
parent | 59272fc6af05dfc603c9230dbded251344e2380c (diff) | |
download | pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.gz pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.bz2 pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.zip |
Use aliases instead of variables for command portability.
Diffstat (limited to '')
-rwxr-xr-x | tests/t0001-sanity-checks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t0001-sanity-checks.sh b/tests/t0001-sanity-checks.sh index e6be9ea..17d270a 100755 --- a/tests/t0001-sanity-checks.sh +++ b/tests/t0001-sanity-checks.sh @@ -4,11 +4,11 @@ test_description='Sanity checks' . ./setup.sh test_expect_success 'Make sure we can run pass' ' - $PASS --help | grep "pass: the standard unix password manager" + pass --help | grep "pass: the standard unix password manager" ' 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" ]] ' |