From: Michael J Gruber Date: Fri, 24 Oct 2014 15:23:32 +0000 (+0200) Subject: t/lib-gpg: make gpghome files writable X-Git-Tag: v2.2.0-rc0~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7f224f7800b17304ebc37079c883f04f99a8eef;p=thirdparty%2Fgit.git t/lib-gpg: make gpghome files writable t/lib-gpg.sh copies the test environment's gpg home to the trash directory and makes sure the directoty is writable. Make sure the copied files are writable, too. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 05824fa8e4..fc5ca99046 100755 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -18,6 +18,7 @@ else # No password given, to enable non-interactive operation. cp -R "$TEST_DIRECTORY"/lib-gpg ./gpghome chmod 0700 gpghome + chmod 0600 gpghome/* GNUPGHOME="$(pwd)/gpghome" export GNUPGHOME test_set_prereq GPG