Skip to content

Commit

Permalink
Merge branch 'mg/lib-gpg-ro-safety'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Oct 29, 2014
2 parents ce71c1f + e7f224f commit 7654ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/lib-gpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7654ca6

Please sign in to comment.