mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-02 20:52:17 +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
|
||||
tmpdir="$BATS_TMPDIR"/abump
|
||||
export ABUILD_USERDIR="$tmpdir"/.config
|
||||
export PACKAGER="Test User <user@example.com>"
|
||||
export REPODEST="$tmpdir"/packages
|
||||
mkdir -p $tmpdir
|
||||
export CLEANUP="srcdir bldroot pkgdir deps"
|
||||
@ -16,7 +17,7 @@ setup() {
|
||||
$ABUILD_KEYGEN --append -n
|
||||
|
||||
cd "$tmpdir"
|
||||
git init
|
||||
git init --quiet
|
||||
}
|
||||
|
||||
teardown() {
|
||||
|
Loading…
Reference in New Issue
Block a user