summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/setup.sh6
-rwxr-xr-xtests/t0060-rm-tests.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index 334b367..779f14a 100644
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -38,10 +38,8 @@ chmod 700 "$GNUPGHOME"
GPG="gpg"
which gpg2 &>/dev/null && GPG="gpg2"
-# We don't want to use any running agent.
-# We want an agent to appear to pass to be running.
-# We don't need a real agent. Hence:
-[[ $GPG == "gpg2" ]] && export GPG_AGENT_INFO=" " || unset GPG_AGENT_INFO
+# We don't want any currently running agent to conflict.
+unset GPG_AGENT_INFO
KEY1="CF90C77B" # pass test key 1
KEY2="D774A374" # pass test key 2
diff --git a/tests/t0060-rm-tests.sh b/tests/t0060-rm-tests.sh
index fc38b3d..29fa34a 100755
--- a/tests/t0060-rm-tests.sh
+++ b/tests/t0060-rm-tests.sh
@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
test_expect_success 'Test "rm" command' '
"$PASS" init $KEY1 &&
"$PASS" generate cred1 43 &&
- echo "y" | "$PASS" rm cred1 &&
+ "$PASS" rm cred1 &&
[[ ! -e $PASSWORD_STORE_DIR/cred1.gpg ]]
'
:11 +0200'>2014-04-18reencryption: only reencrypt files when requiredJason A. Donenfeld2-16/+37 2014-04-17cp: typo as cvJason A. Donenfeld1-1/+1 2014-04-17bash: gpg_id is localJason A. Donenfeld1-0/+1 2014-04-17move/copy: always reencrypt passwords at destinationJason A. Donenfeld5-25/+56 2014-04-17makefile: allow platform files with gnu sedJason A. Donenfeld1-7/+8 2014-04-17mv: Add pass mv/rename supportJason A. Donenfeld5-3/+78 2014-04-17revelation2pass: add plain XML importJavali1-11/+15 2014-04-17platform: add cygwin supportJason A. Donenfeld2-1/+17