diff options
| author | Ingo Klöcker <[email protected]> | 2023-02-08 14:59:28 +0100 |
|---|---|---|
| committer | Ingo Klöcker <[email protected]> | 2023-02-09 09:33:07 +0100 |
| commit | 7098c14b231113055535abb14b4cde0c845f8728 (patch) | |
| tree | 1811fdb1a78954d3528cefec331545e8ca26ed3d /lang | |
| parent | tests: Extend tests with an ultimately trusted key (diff) | |
| download | gpgme-7098c14b231113055535abb14b4cde0c845f8728.tar.gz gpgme-7098c14b231113055535abb14b4cde0c845f8728.zip | |
tests: Stop daemons after setting up test environment
* lang/python/tests/Makefile.am, lang/qt/tests/Makefile.am,
tests/gpg/Makefile.am, tests/json/Makefile.am (pubring-stamp): Call
`gpgconf --kill all` after importing test keys.
--
This ensures that no gpg-agents or other daemons are running after
"make".
Diffstat (limited to 'lang')
| -rw-r--r-- | lang/python/tests/Makefile.am | 1 | ||||
| -rw-r--r-- | lang/qt/tests/Makefile.am | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index 62dddaae..40a26e2a 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -107,6 +107,7 @@ pubring-stamp: $(test_srcdir)/pubdemo.asc gpg-sample.stamp --import $(test_srcdir)/pubdemo.asc -$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \ --import $(test_srcdir)/secdemo.asc + -$(TESTS_ENVIRONMENT) gpgconf --kill all echo x > ./pubring-stamp gpg.conf: diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am index 601d5062..d9713d90 100644 --- a/lang/qt/tests/Makefile.am +++ b/lang/qt/tests/Makefile.am @@ -136,6 +136,7 @@ pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \ $(TESTS_ENVIRONMENT) $(GPG) --no-permission-warning \ --passphrase "abc" \ --import $(top_srcdir)/tests/gpg/secdemo.asc + -$(TESTS_ENVIRONMENT) gpgconf --kill all touch pubring-stamp .cpp.moc: |
