aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2014-10-24 17:23:32 +0200
committerJunio C Hamano <gitster@pobox.com>2014-10-27 12:09:36 -0700
commite7f224f7800b17304ebc37079c883f04f99a8eef (patch)
treefc0b06c18fd9456964f5099aa8cf05caf5c95f3f /t
parenteeff891ac756fd97a05476446f15269b714ce4cc (diff)
downloadgit-e7f224f7800b17304ebc37079c883f04f99a8eef.tar.gz
git-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>
Diffstat (limited to 't')
-rwxr-xr-xt/lib-gpg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh
index 05824fa8e..fc5ca9904 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