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/qt/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/qt') diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am index c4665dfa..a662b4cf 100644 --- a/lang/qt/tests/Makefile.am +++ b/lang/qt/tests/Makefile.am @@ -77,6 +77,7 @@ export GNUPGHOME := $(abs_builddir) pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \ $(top_srcdir)/tests/gpg/secdemo.asc + -gpgconf --kill all echo "ignore-invalid-option allow-loopback-pinentry" > $(abs_builddir)/gpg-agent.conf echo "allow-loopback-pinentry" >> gpg-agent.conf echo "ignore-invalid-option pinentry-mode" > gpg.conf -- cgit v1.2.3