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/t0010-generate-tests.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/t0010-generate-tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh index d717c00..fea9d44 100755 --- a/tests/t0010-generate-tests.sh +++ b/tests/t0010-generate-tests.sh @@ -4,9 +4,9 @@ test_description='Test generate' . ./setup.sh test_expect_success 'Test "generate" command' ' - $PASS init $KEY1 && - $PASS generate cred 19 && - [[ $($PASS show cred | wc -m) -eq 20 ]] + pass init $KEY1 && + pass generate cred 19 && + [[ $(pass show cred | wc -m) -eq 20 ]] ' test_done |