Browse Source

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
maint
Junio C Hamano 11 years ago
parent
commit
7654ca6963
  1. 1
      t/lib-gpg.sh

1
t/lib-gpg.sh

@ -18,6 +18,7 @@ else @@ -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

Loading…
Cancel
Save