From a226eca84670ef4e171c3a54e7caefb3a89254a4 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 10 May 2017 15:52:12 +0200 Subject: 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 --- lang/python/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/python/tests') diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index b62b5247..790d8f8f 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -97,6 +97,7 @@ BUILT_SOURCES = gpg.conf gpg-agent.conf pubring-stamp \ private-keys-v1.d/gpg-sample.stamp ./private-keys-v1.d/gpg-sample.stamp: $(private_keys) + -gpgconf --kill all $(MKDIR_P) ./private-keys-v1.d for k in $(private_keys); do \ cp $$k private-keys-v1.d/$${k#$(test_srcdir)/}.key; \ -- cgit v1.2.3