tests: Do not autostart gpg-agents on teardown.
authorJustus Winter <justus@g10code.com>
Tue, 25 Oct 2016 15:06:05 +0000 (17:06 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 25 Oct 2016 15:06:05 +0000 (17:06 +0200)
* tests/openpgp/defs.c (stop-agent): Use '--no-autostart' when calling
gpg-connect-agent.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/defs.scm

index 48ac46c..c911ea3 100644 (file)
   (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)))