[git] GPGME - branch, master, updated. gpgme-1.7.1-32-g41d8c7e

by Alon Bar-Lev cvs at cvs.gnupg.org
Fri Nov 11 09:20:33 CET 2016


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 "GnuPG Made Easy".

The branch, master has been updated
       via  41d8c7e51a8989be633b9ada124c58a01fae7d54 (commit)
      from  6e57379c8e37c0863f7d12819a5a7d0781bd76d2 (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 41d8c7e51a8989be633b9ada124c58a01fae7d54
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Wed Oct 19 12:04:07 2016 +0300

    tests,python: Atomic directory creation
    
    * lang/python/tests/Makefile.am:  Use MIDIR_P.
    * tests/gpg/Makefile.am: Ditto.
    * tests/gpgsm/Makefile.am: Ditto.
    
    --
    Solves race in parallel build when mkdir fails if directory exists.
    
    Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
    
    - Tweaked the ChangeLog
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index aa88bdc..39f532c 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -89,7 +89,7 @@ clean-local:
 
 
 ./private-keys-v1.d/gpg-sample.stamp: $(private_keys)
-	test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
+	$(MKDIR_P) ./private-keys-v1.d
 	for k in $(private_keys); do \
           cp $$k private-keys-v1.d/$${k#$(test_srcdir)/}.key; \
         done
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index dd33b0a..c46feb0 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -93,7 +93,7 @@ export GNUPGHOME := $(abs_builddir)
 export GPG_AGENT_INFO :=
 
 ./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
-	test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
+	$(MKDIR_P) ./private-keys-v1.d
 	for k in $(private_keys); do \
           cp $(srcdir)/$$k private-keys-v1.d/$$k.key; \
         done
diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am
index 41645b6..46d6a9b 100644
--- a/tests/gpgsm/Makefile.am
+++ b/tests/gpgsm/Makefile.am
@@ -70,7 +70,7 @@ export GPG_AGENT_INFO :=
 	echo faked-system-time 1008241200 >> ./gpgsm.conf
 
 ./private-keys-v1.d/$(key_id).key: $(srcdir)/$(key_id)
-	test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
+	$(MKDIR_P) ./private-keys-v1.d
 	cp $(srcdir)/$(key_id) private-keys-v1.d/$(key_id).key
 
 ./trustlist.txt:

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

Summary of changes:
 lang/python/tests/Makefile.am | 2 +-
 tests/gpg/Makefile.am         | 2 +-
 tests/gpgsm/Makefile.am       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list