[Pkg-gnupg-commit] [gnupg2] 227/292: tests: Fix environment setup.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Nov 21 06:31:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit 1062953d5132af674aacfc6372e3e9f066c5d145
Author: Justus Winter <justus at g10code.com>
Date: Tue Nov 8 16:15:32 2016 +0100
tests: Fix environment setup.
* tests/openpgp/defs.scm (setup-legacy-environment): Do not call
'setup-environment' because that will start the agent, and hence
register the atexit function twice.
Fixes: a55393cb5f4b331cb3a715c7d9a8b91f7606f337
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/openpgp/defs.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm
index 09c313b..e91902c 100644
--- a/tests/openpgp/defs.scm
+++ b/tests/openpgp/defs.scm
@@ -256,13 +256,12 @@
;; Initialize the test environment, install appropriate configuration
;; and start the agent, with the keys from the legacy test suite.
(define (setup-legacy-environment)
- (setup-environment)
+ (create-gpghome)
(if (member "--unpack-tarball" *args*)
(begin
(call-check `(,(tool 'gpgtar) --extract --directory=. ,(cadr *args*)))
(start-agent))
(begin
- (create-gpghome)
(start-agent)
(create-legacy-gpghome)))
(preset-passphrases))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list