[applied] tests/runtestabidb?.sh.in: Fix git initialization
Commit Message
Hello,
Not having the temporary git repository created in this test can lead to
an error in some CI environments. Fixed thus.
* tests/runtestabidb[1-2].sh.in: Initialize email & user name
for the local git repository.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the master branch.
---
tests/runtestabidb1.sh.in | 3 +++
tests/runtestabidb2.sh.in | 3 +++
2 files changed, 6 insertions(+)
@@ -31,6 +31,9 @@ function clean_env
trap "clean_env" EXIT
git init $gitdir
+cd $gitdir
+git config user.email "john@tester.doe.com"
+git config user.name "John Tester Doe"
# Run a quick test against the local distribution, presumed via debuginfod
unset DEBUGINFOD_VERBOSE DEBUGINFOD_PROGRESS
@@ -35,6 +35,9 @@ function clean_env
}
git init $gitdir
+cd $gitdir
+git config user.email "john@tester.doe.com"
+git config user.name "John Tester Doe"
# Build a little shared library, a binary against it, then
# break it with an update