diff options
author | Justus Winter <[email protected]> | 2017-05-10 13:52:12 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-05-10 13:52:12 +0000 |
commit | a226eca84670ef4e171c3a54e7caefb3a89254a4 (patch) | |
tree | 7f64c20aa7b26c7395c2037995801b91e2e01f9c /lang/python | |
parent | tests: Harmonize test suites. (diff) | |
download | gpgme-a226eca84670ef4e171c3a54e7caefb3a89254a4.tar.gz gpgme-a226eca84670ef4e171c3a54e7caefb3a89254a4.zip |
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 <[email protected]>
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
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; \ |