mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-03 05:02:13 +00:00
tests: fix abump to work without configured git user
This commit is contained in:
parent
57ec5043f0
commit
8aacd4783f
@ -6,6 +6,7 @@ setup() {
|
|||||||
export ABUILD_CONF=/dev/null
|
export ABUILD_CONF=/dev/null
|
||||||
tmpdir="$BATS_TMPDIR"/abump
|
tmpdir="$BATS_TMPDIR"/abump
|
||||||
export ABUILD_USERDIR="$tmpdir"/.config
|
export ABUILD_USERDIR="$tmpdir"/.config
|
||||||
|
export PACKAGER="Test User <user@example.com>"
|
||||||
export REPODEST="$tmpdir"/packages
|
export REPODEST="$tmpdir"/packages
|
||||||
mkdir -p $tmpdir
|
mkdir -p $tmpdir
|
||||||
export CLEANUP="srcdir bldroot pkgdir deps"
|
export CLEANUP="srcdir bldroot pkgdir deps"
|
||||||
@ -16,7 +17,7 @@ setup() {
|
|||||||
$ABUILD_KEYGEN --append -n
|
$ABUILD_KEYGEN --append -n
|
||||||
|
|
||||||
cd "$tmpdir"
|
cd "$tmpdir"
|
||||||
git init
|
git init --quiet
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
Loading…
Reference in New Issue
Block a user