aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2011-05-06 00:11:40 +0000
committerMarcus Brinkmann <[email protected]>2011-05-06 00:11:40 +0000
commitc79d8ad8189ff0a8c24547d4b0646247ca6f9a23 (patch)
treea4c985765e25fda819ed8aac8cd45c81ddb513e6 /tests/gpg
parentImprove import tests for GnuPG 2.1. (diff)
downloadgpgme-c79d8ad8189ff0a8c24547d4b0646247ca6f9a23.tar.gz
gpgme-c79d8ad8189ff0a8c24547d4b0646247ca6f9a23.zip
Make sure an existing agent doesn't interfere with test suite generation.
Diffstat (limited to 'tests/gpg')
-rw-r--r--tests/gpg/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index 3ca00cfc..bca36b0e 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -53,12 +53,15 @@ t_thread1_LDADD = ../../src/libgpgme-pthread.la
noinst_PROGRAMS = $(TESTS) t-genkey
clean-local:
+ -gpg-connect-agent KILLAGENT /bye
-rm -fR private-keys-v1.d
all-local: ./gpg.conf ./gpg-agent.conf ./pubring.gpg
export GNUPGHOME := $(abs_builddir)
+export GPG_AGENT_INFO :=
+
./pubring.gpg: $(srcdir)/pubdemo.asc
-$(GPG) --no-permission-warning \
--import $(srcdir)/pubdemo.asc