t/lib-gpg: make gpghome files writable
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>
This commit is contained in:
parent
eeff891ac7
commit
e7f224f780
@ -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…
Reference in New Issue
Block a user