[Pkg-gnupg-commit] [gnupg2] 67/112: tests: Fix distcheck.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Aug 30 17:48:21 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 a6acf1f6b39c5a607f61f643a5d21309ba58685d
Author: Justus Winter <justus at g10code.com>
Date:   Wed Aug 10 17:57:32 2016 +0200

    tests: Fix distcheck.
    
    * tests/openpgp/issue2417.scm: Copy configuration.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/openpgp/issue2417.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/openpgp/issue2417.scm b/tests/openpgp/issue2417.scm
index 32840f2..9079323 100755
--- a/tests/openpgp/issue2417.scm
+++ b/tests/openpgp/issue2417.scm
@@ -19,6 +19,8 @@
 
 (load (with-path "defs.scm"))
 
+(define old-home (getenv "GNUPGHOME"))
+
 (define (touch file-name)
   (close (open file-name (logior O_WRONLY O_BINARY O_CREAT) #o600)))
 
@@ -32,6 +34,8 @@
   (pipe:write-to keyfile (logior O_WRONLY O_BINARY O_CREAT) #o600))
 
  (with-temporary-working-directory
+  (file-copy (path-join old-home "gpg.conf") "gpg.conf")
+  (file-copy (path-join old-home "gpg-agent.conf") "gpg-agent.conf")
   (setenv "GNUPGHOME" "." #t)
   (touch "trustdb.gpg")
   (touch "pubring.gpg")

-- 
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