summaryrefslogtreecommitdiff
path: root/t/lib-gpg.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-29 17:08:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-10-29 17:08:16 (GMT)
commit7654ca696348feaab3c7000b9bd13985e03f43ae (patch)
tree510b1cf2b582532bd3bcc16dbc8a2c8274e93165 /t/lib-gpg.sh
parentce71c1f3398a956b0152f8ebf11b7a9d50a3095e (diff)
parente7f224f7800b17304ebc37079c883f04f99a8eef (diff)
downloadgit-7654ca696348feaab3c7000b9bd13985e03f43ae.zip
git-7654ca696348feaab3c7000b9bd13985e03f43ae.tar.gz
git-7654ca696348feaab3c7000b9bd13985e03f43ae.tar.bz2
Merge branch 'mg/lib-gpg-ro-safety'
In a tarball extract whose files are all read-only, running GPG tests would have failed due to unwritable files. * mg/lib-gpg-ro-safety: t/lib-gpg: make gpghome files writable
Diffstat (limited to 't/lib-gpg.sh')
-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 fd499e7..cd2baef 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