m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0001-sanity-checks.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 18:16:53 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 18:16:53 +0200
commit685d094023e2edbd130a7c86d46e7fd79a62e8af (patch)
treea22de1cb3f2e1238d97e8d7292b6ad80ca29ef0f /tests/t0001-sanity-checks.sh
parent59272fc6af05dfc603c9230dbded251344e2380c (diff)
Use aliases instead of variables for command portability.
Diffstat (limited to 'tests/t0001-sanity-checks.sh')
-rwxr-xr-xtests/t0001-sanity-checks.sh4
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" ]]
'