[git] GnuPG - branch, master, updated. gnupg-2.1.20-8-g01e84d4

by Justus Winter cvs at cvs.gnupg.org
Wed Apr 5 15:23:07 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  01e84d429aeeb1450012ff0576a6a24de50693c6 (commit)
      from  32b75fb7743f35936d7014fce33c90ba97dfa374 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 01e84d429aeeb1450012ff0576a6a24de50693c6
Author: Justus Winter <justus at g10code.com>
Date:   Wed Apr 5 15:18:30 2017 +0200

    tests: Fix setup of ephemeral home directories.
    
    * tests/openpgp/defs.scm (with-ephemeral-home-directory): Set
    GNUPGHOME and cwd to the ephemeral directory before calling the setup
    function.
    
    GnuPG-bug-id: 3047
    Fixes-commit: 32b75fb7743f35936d7014fce33c90ba97dfa374
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm
index 4271ba0..815a560 100644
--- a/tests/openpgp/defs.scm
+++ b/tests/openpgp/defs.scm
@@ -299,8 +299,8 @@
        (finally (unlink-recursively ,ephemeral-home-directory)
 	 (dynamic-wind
 	     (lambda ()
-	       (force ,setup)
-	       (setenv "GNUPGHOME" ,ephemeral-home-directory #t))
+	       (setenv "GNUPGHOME" ,ephemeral-home-directory #t)
+	       (with-working-directory ,ephemeral-home-directory (force ,setup)))
 	     (lambda () , at expressions)
 	     (lambda () (setenv "GNUPGHOME" ,original-home-directory #t)))))))
 

-----------------------------------------------------------------------

Summary of changes:
 tests/openpgp/defs.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list