mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-01 09:50:31 +00:00
tests: fix with changed ABUILD_USERDIR
The test suite expects ABUILD_USERDIR to be "$HOME"/.abuild but that could be overwritten in ABUILD_CONF. So use the fixed value instead of relying on the default.
This commit is contained in:
parent
59be83ca19
commit
2fbfb5e700
@ -15,6 +15,7 @@ init_tests \
|
||||
abuild_keygen_kernel \
|
||||
|
||||
export ABUILD_SHAREDIR="$SRCDIR"/..
|
||||
export ABUILD_USERDIR="$HOME"/.abuild
|
||||
export GIT=false
|
||||
export FAKEKEY="$SRCDIR/testdata/abuild.key"
|
||||
export FAKEKEYPUB="$SRCDIR/testdata/abuild.key.pub"
|
||||
|
@ -15,6 +15,7 @@ init_tests \
|
||||
abuild_sign_owner_type_rsa256
|
||||
|
||||
export ABUILD_SHAREDIR="$(atf_get_srcdir)/.."
|
||||
export ABUILD_USERDIR="$HOME"/.abuild
|
||||
|
||||
init_keys() {
|
||||
cp -ra "$(atf_get_srcdir)"/testdata/.abuild "$PWD"
|
||||
|
Loading…
Reference in New Issue
Block a user