m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0200-edit-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/t0200-edit-tests.sh b/tests/t0200-edit-tests.sh
index 1dc125a..d8d7b64 100755
--- a/tests/t0200-edit-tests.sh
+++ b/tests/t0200-edit-tests.sh
@@ -8,7 +8,8 @@ test_expect_success 'Test "edit" command' '
"$PASS" init $KEY1 &&
"$PASS" generate cred1 90 &&
export FAKE_EDITOR_PASSWORD="big fat fake password" &&
- export EDITOR="$TEST_HOME/fake-editor-change-password.sh" &&
+ export PATH="$TEST_HOME:$PATH"
+ export EDITOR="fake-editor-change-password.sh" &&
"$PASS" edit cred1 &&
[[ $("$PASS" show cred1) == "$FAKE_EDITOR_PASSWORD" ]]
'