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".
This commit is contained in:
parent
fcefc78f74
commit
7098c14b23
@ -107,6 +107,7 @@ pubring-stamp: $(test_srcdir)/pubdemo.asc gpg-sample.stamp
|
|||||||
--import $(test_srcdir)/pubdemo.asc
|
--import $(test_srcdir)/pubdemo.asc
|
||||||
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
||||||
--import $(test_srcdir)/secdemo.asc
|
--import $(test_srcdir)/secdemo.asc
|
||||||
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
||||||
echo x > ./pubring-stamp
|
echo x > ./pubring-stamp
|
||||||
|
|
||||||
gpg.conf:
|
gpg.conf:
|
||||||
|
@ -136,6 +136,7 @@ pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
|
|||||||
$(TESTS_ENVIRONMENT) $(GPG) --no-permission-warning \
|
$(TESTS_ENVIRONMENT) $(GPG) --no-permission-warning \
|
||||||
--passphrase "abc" \
|
--passphrase "abc" \
|
||||||
--import $(top_srcdir)/tests/gpg/secdemo.asc
|
--import $(top_srcdir)/tests/gpg/secdemo.asc
|
||||||
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
||||||
touch pubring-stamp
|
touch pubring-stamp
|
||||||
|
|
||||||
.cpp.moc:
|
.cpp.moc:
|
||||||
|
@ -110,6 +110,7 @@ pubring-stamp: $(srcdir)/pubdemo.asc gpg-sample.stamp
|
|||||||
--import $(srcdir)/secdemo.asc
|
--import $(srcdir)/secdemo.asc
|
||||||
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
||||||
--import-ownertrust $(srcdir)/ownertrust.txt
|
--import-ownertrust $(srcdir)/ownertrust.txt
|
||||||
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
||||||
echo x > ./pubring-stamp
|
echo x > ./pubring-stamp
|
||||||
|
|
||||||
gpg.conf: $(srcdir)/gpg.conf.in
|
gpg.conf: $(srcdir)/gpg.conf.in
|
||||||
|
@ -93,6 +93,7 @@ pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc gpg-sample.stamp
|
|||||||
--import $(top_srcdir)/tests/gpg/pubdemo.asc
|
--import $(top_srcdir)/tests/gpg/pubdemo.asc
|
||||||
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
|
||||||
--import $(top_srcdir)/tests/gpg/secdemo.asc
|
--import $(top_srcdir)/tests/gpg/secdemo.asc
|
||||||
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
||||||
echo x > ./pubring-stamp
|
echo x > ./pubring-stamp
|
||||||
|
|
||||||
gpg.conf:
|
gpg.conf:
|
||||||
|
Loading…
Reference in New Issue
Block a user