summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-10-29 10:08:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-29 10:08:16 -0700
commit7654ca696348feaab3c7000b9bd13985e03f43ae (patch)
tree510b1cf2b582532bd3bcc16dbc8a2c8274e93165
parentMerge branch 'dm/port2zos' (diff)
parentt/lib-gpg: make gpghome files writable (diff)
downloadtgif-7654ca696348feaab3c7000b9bd13985e03f43ae.tar.xz
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
-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 fd499e7c49..cd2baef383 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