mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Add macro managing ephemeral home directories.
* tests/openpgp/defs.scm (with-ephemeral-home-directory): New macro. * tests/openpgp/setup.scm: Use the new macro.
This commit is contained in:
parent
a30c0a6972
commit
c067a012c7
2 changed files with 12 additions and 2 deletions
|
@ -22,8 +22,7 @@
|
|||
(unless (member "--create-tarball" *args*)
|
||||
(fail "Usage: setup.scm --create-tarball <file>"))
|
||||
|
||||
(with-temporary-working-directory
|
||||
(setenv "GNUPGHOME" (getcwd) #t)
|
||||
(with-ephemeral-home-directory
|
||||
(create-gpghome)
|
||||
(create-legacy-gpghome)
|
||||
(stop-agent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue