summaryrefslogtreecommitdiff
path: root/tests/t0050-mv-tests.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/t0050-mv-tests.sh
parent59272fc6af05dfc603c9230dbded251344e2380c (diff)
downloadpass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.gz
pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.bz2
pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.zip
Use aliases instead of variables for command portability.
Diffstat (limited to '')
-rwxr-xr-xtests/t0050-mv-tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t0050-mv-tests.sh b/tests/t0050-mv-tests.sh
index 57472c1..1b1fef2 100755
--- a/tests/t0050-mv-tests.sh
+++ b/tests/t0050-mv-tests.sh
@@ -7,9 +7,9 @@ TEST_CRED="test_cred"
TEST_CRED_NEW="test_cred_new"
test_expect_success 'Test "mv" command' '
- $PASS init $KEY1 &&
- $PASS generate cred1 39 &&
- $PASS mv cred1 cred2 &&
+ pass init $KEY1 &&
+ pass generate cred1 39 &&
+ pass mv cred1 cred2 &&
[[ -e $PASSWORD_STORE_DIR/cred2.gpg && ! -e $PASSWORD_STORE_DIR/cred1.gpg ]]
'