diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2014-10-24 17:23:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-27 12:09:36 -0700 |
commit | e7f224f7800b17304ebc37079c883f04f99a8eef (patch) | |
tree | fc0b06c18fd9456964f5099aa8cf05caf5c95f3f | |
parent | git-tag.txt: Add a missing hyphen to `-s` (diff) | |
download | tgif-e7f224f7800b17304ebc37079c883f04f99a8eef.tar.xz |
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 <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/lib-gpg.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |