tests: Do not autostart gpg-agents on teardown.

* tests/openpgp/defs.c (stop-agent): Use '--no-autostart' when calling
gpg-connect-agent.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-10-25 17:06:05 +02:00
parent b120f358c2
commit f88f11a256
1 changed files with 2 additions and 1 deletions

View File

@ -162,4 +162,5 @@
(echo "Stopping gpg-agent...")
(catch (echo "Warning: Removing socket directory failed.")
(call-popen `(,(tool 'gpgconf) --remove-socketdir) ""))
(call-check `(,(tool 'gpg-connect-agent) --verbose killagent /bye)))
(call-check `(,(tool 'gpg-connect-agent) --verbose --no-autostart
killagent /bye)))