Skip to content

Commit

Permalink
t/lib-gpg: make gpghome files writable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael J Gruber authored and gitster committed Oct 27, 2014
1 parent eeff891 commit e7f224f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/lib-gpg.sh
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 e7f224f

Please sign in to comment.