summaryrefslogtreecommitdiff
path: root/tests/gpg
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2017-05-10 15:52:12 +0200
committerJustus Winter <justus@g10code.com>2017-05-10 15:52:12 +0200
commita226eca84670ef4e171c3a54e7caefb3a89254a4 (patch)
tree7f64c20aa7b26c7395c2037995801b91e2e01f9c /tests/gpg
parent15adff073bb89dc032d8342cfbbdad2850943f52 (diff)
downloadgpgme-a226eca84670ef4e171c3a54e7caefb3a89254a4.tar.gz
tests: Make sure to kill all previously running daemons.
* lang/python/tests/Makefile.am: Kill all previously running daemons before creating the private key store. * lang/qt/tests/Makefile.am: Likewise. * tests/gpg/Makefile.am: Likewise. * tests/gpgsm/Makefile.am: Likewise. -- Now that the daemons sockets are no longer created in the GNUPGHOME, we cannot rely on cleaning the build directory to make sure they are shut down. Therefore, we explicitly kill any running daemons when creating the test environment. Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/gpg')
-rw-r--r--tests/gpg/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index ed1323b4..b2e8837a 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -89,6 +89,7 @@ export GNUPGHOME := $(abs_builddir)
export GPG_AGENT_INFO :=
./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
+ -gpgconf --kill all
$(MKDIR_P) ./private-keys-v1.d
for k in $(private_keys); do \
cp $(srcdir)/$$k private-keys-v1.d/$$k.key; \