mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
tests: Fix distcheck.
* tests/openpgp/issue2417.scm: Copy configuration. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
5b59999ce0
commit
a6acf1f6b3
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user