aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/decrypt-unwrap-verify.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-04-04 12:32:04 +0000
committerJustus Winter <[email protected]>2017-04-04 16:52:06 +0000
commit32b75fb7743f35936d7014fce33c90ba97dfa374 (patch)
treeb873add1fbe3813b090eac16cd0beec752364916 /tests/openpgp/decrypt-unwrap-verify.scm
parentgpgscm: Fix copying values. (diff)
downloadgnupg-32b75fb7743f35936d7014fce33c90ba97dfa374.tar.gz
gnupg-32b75fb7743f35936d7014fce33c90ba97dfa374.zip
tests: Fix setup of ephemeral home directories.
* tests/openpgp/defs.scm (with-ephemeral-home-directory): Create configuration files when we enter the context. * tests/openpgp/setup.scm: Do not use an ephemeral home directory. Tests should always use the cwd. * tests/gpgsm/setup.scm: Likewise. * tests/gpgsm/export.scm: Add explicit constructor function. * tests/openpgp/decrypt-session-key.scm: Likewise. * tests/openpgp/decrypt-unwrap-verify.scm: Likewise. -- Previously, ephemeral homedirectories lacked a configuration, hence GnuPG tried to start backend daemons using their installed locations. Fix this by explicitly creating a suitable configuration. GnuPG-bug-id: 3047 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/openpgp/decrypt-unwrap-verify.scm')
-rwxr-xr-xtests/openpgp/decrypt-unwrap-verify.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/decrypt-unwrap-verify.scm b/tests/openpgp/decrypt-unwrap-verify.scm
index 97a72e4c7..ef9a99a2c 100755
--- a/tests/openpgp/decrypt-unwrap-verify.scm
+++ b/tests/openpgp/decrypt-unwrap-verify.scm
@@ -35,7 +35,7 @@
;; Then, verify the signature with a clean working directory
;; containing only Steve's public key.
- (with-ephemeral-home-directory
+ (with-ephemeral-home-directory setup-environment
(call-check `(,@gpg --import ,steve's-key))
(call-check `(,@gpg --verify ,unwrapped)))))
'("encsig-2-keys-3" "encsig-2-keys-4")))