mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-13 08:41:13 -06:00
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
This commit is contained in:
commit
7654ca6963
@ -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…
x
Reference in New Issue
Block a user