mirror of
https://github.com/ostreedev/ostree.git
synced 2024-10-27 10:25:07 +03:00
tests: Move test gpg keyring into writable tmpdir
At least the version of gpgme in RHEL7 wants to create a lock file, work around this by copying it into the writable test temporary directory.
This commit is contained in:
parent
12c8ef1425
commit
2f205331f4
@ -23,8 +23,13 @@ test_tmpdir=$(pwd)
|
||||
export G_DEBUG=fatal-warnings
|
||||
|
||||
export TEST_GPG_KEYID="472CDAFA"
|
||||
export TEST_GPG_KEYHOME=${SRCDIR}/gpghome
|
||||
export OSTREE_GPG_HOME=${TEST_GPG_KEYHOME}/trusted
|
||||
|
||||
# GPG when creating signatures demands a writable
|
||||
# homedir in order to create lockfiles. Work around
|
||||
# this by copying locally.
|
||||
cp -a ${SRCDIR}/gpghome ${test_tmpdir}
|
||||
export TEST_GPG_KEYHOME=${test_tmpdir}/gpghome
|
||||
export OSTREE_GPG_HOME=${test_tmpdir}/gpghome/trusted
|
||||
|
||||
if test -n "${OT_TESTS_DEBUG}"; then
|
||||
set -x
|
||||
|
Loading…
Reference in New Issue
Block a user