forked from Mirrors/flatpak-builder
tests: Fix distcheck breaking on gpg dir not writable
We make a copy of the gpg homedir so that gpg can write (e.g. a lock file) to the directory.tingping/wmclass
parent
d961290d40
commit
1216e0ea68
|
@ -156,7 +156,11 @@ assert_file_empty() {
|
|||
fi
|
||||
}
|
||||
|
||||
export FL_GPG_HOMEDIR=$(dirname $0)/test-keyring
|
||||
export FL_GPG_HOMEDIR=${TEST_DATA_DIR}/gpghome
|
||||
mkdir -p ${FL_GPG_HOMEDIR}
|
||||
# This need to be writable, so copy the keys
|
||||
cp $(dirname $0)/test-keyring/*.gpg ${FL_GPG_HOMEDIR}/
|
||||
|
||||
export FL_GPG_ID=7B0961FD
|
||||
export FL_GPGARGS="--gpg-homedir=${FL_GPG_HOMEDIR} --gpg-sign=${FL_GPG_ID}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue