diff options
Diffstat (limited to 'tests/openpgp/setup.scm')
-rwxr-xr-x | tests/openpgp/setup.scm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/openpgp/setup.scm b/tests/openpgp/setup.scm index 4b3bfcb41..a7d14e71c 100755 --- a/tests/openpgp/setup.scm +++ b/tests/openpgp/setup.scm @@ -40,10 +40,9 @@ '(gpgconf gpg gpg-agent scdaemon gpgsm dirmngr gpg-connect-agent gpg-preset-passphrase gpgtar pinentry))) -(with-ephemeral-home-directory - (chdir (getenv "GNUPGHOME")) - (create-gpghome) - (start-agent) - (create-legacy-gpghome) - (stop-agent) - (call-check `(,(tool 'gpgtar) --create --output ,(cadr *args*) "."))) +(setenv "GNUPGHOME" (getcwd) #t) +(create-gpghome) +(start-agent) +(create-legacy-gpghome) +(stop-agent) +(call-check `(,(tool 'gpgtar) --create --output ,(cadr *args*) ".")) |