From 685d094023e2edbd130a7c86d46e7fd79a62e8af Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 23 Apr 2014 18:16:53 +0200 Subject: Use aliases instead of variables for command portability. --- tests/t0100-insert-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/t0100-insert-tests.sh') diff --git a/tests/t0100-insert-tests.sh b/tests/t0100-insert-tests.sh index 28c50d2..5820e45 100755 --- a/tests/t0100-insert-tests.sh +++ b/tests/t0100-insert-tests.sh @@ -4,9 +4,9 @@ test_description='Test insert' . ./setup.sh test_expect_success 'Test "insert" command' ' - $PASS init $KEY1 && - echo "Hello world" | $PASS insert -e cred1 && - [[ $($PASS show cred1) == "Hello world" ]] + pass init $KEY1 && + echo "Hello world" | pass insert -e cred1 && + [[ $(pass show cred1) == "Hello world" ]] ' test_done -- cgit v1.2.3