m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/setup.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 04:12:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 04:12:29 +0200
commit14aa5aba9d5451ba21582637ef1aa8060a75e15c (patch)
treee4b47e96d7eeaf558ccc0e206d1f0d2144d2660c /tests/setup.sh
parentec97be9a3e93894ca2b6fd17f0846e538e7d35b9 (diff)
tests: emulate running agent
Diffstat (limited to 'tests/setup.sh')
-rwxr-xr-xtests/setup.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index 3b9e089..d6ba203 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -28,7 +28,12 @@ fi
# Note: the assumption is the test key is unencrypted.
export GNUPGHOME=$(pwd)"/gnupg/"
chmod 700 "$GNUPGHOME"
-export PASSWORD_STORE_KEY=3DEEA12D # "Password-store Test Key"
+export PASSWORD_STORE_KEY="3DEEA12D" # "Password-store Test Key"
+
+# 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:
+export GPG_AGENT_INFO=" "
# pass_init()
#