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>
Michael J Gruber committed
Oct 24, 2014 at 17:23 UTC
e7f224f7800b17304ebc37079c883f04f99a8eef
1 file changed
+1
t/lib-gpg.sh
+1
@@ -18,6 +18,7 @@ else
18
# No password given, to enable non-interactive operation.
19
cp -R "$TEST_DIRECTORY"/lib-gpg ./gpghome
20
chmod 0700 gpghome
21
+ chmod 0600 gpghome/*
22
GNUPGHOME="$(pwd)/gpghome"
23
export GNUPGHOME
24
test_set_prereq GPG