libtest: make gpghome in tmpdir writeable
Otherwise, during "make distcheck" it will be read-only (because it
is a copy of the read-only ${srcdir} with permissions preserved), and
deletion will fail during cleanup.
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #337
Approved by: cgwalters
This commit is contained in:
parent
70a1118955
commit
8011d8c627
|
|
@ -69,6 +69,7 @@ export TEST_GPG_KEYID_3="DF444D67"
|
||||||
# this by copying locally.
|
# this by copying locally.
|
||||||
echo "Copying gpghome to ${test_tmpdir}"
|
echo "Copying gpghome to ${test_tmpdir}"
|
||||||
cp -a "${test_srcdir}/gpghome" ${test_tmpdir}
|
cp -a "${test_srcdir}/gpghome" ${test_tmpdir}
|
||||||
|
chmod -R u+w "${test_tmpdir}"
|
||||||
export TEST_GPG_KEYHOME=${test_tmpdir}/gpghome
|
export TEST_GPG_KEYHOME=${test_tmpdir}/gpghome
|
||||||
export OSTREE_GPG_HOME=${test_tmpdir}/gpghome/trusted
|
export OSTREE_GPG_HOME=${test_tmpdir}/gpghome/trusted
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue