diff --git a/tests/abuild.bats b/tests/abuild.bats index 4ec2a8d..bee1d4f 100644 --- a/tests/abuild.bats +++ b/tests/abuild.bats @@ -10,6 +10,7 @@ setup() { export WORKDIR="$tmpdir"/work export GIT_CONFIG_GLOBAL="$tmpdir"/gitconfig export APORTSDIR="$PWD"/testrepo + export PATH="$PWD/../:$PATH" mkdir -p "$tmpdir" "$WORKDIR" printf "[color]\n\tui = always\n" > "$GIT_CONFIG_GLOBAL" diff --git a/tests/abump.bats b/tests/abump.bats index 388aada..dfd2fb1 100644 --- a/tests/abump.bats +++ b/tests/abump.bats @@ -13,6 +13,7 @@ setup() { export APORTSDIR="$tmpdir" export ABUILD_OPTS="" export ABUILD_APK_INDEX_OPTS="--keys-dir=$ABUILD_USERDIR" + export PATH="$PWD/../:$PATH" $ABUILD_KEYGEN --append -n