tests: Make sure to kill all previously running daemons.
[gpgme.git] / tests / gpg / Makefile.am
index ed1323b..b2e8837 100644 (file)
@@ -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; \