tests/runtestabidb?.sh.in: Fix git initialization

* tests/runtestabidb[1-2].sh.in: Initialize email & user name
          for the local git repository.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2024-04-17 15:47:05 +02:00
parent dbae53ec30
commit 53547cdbf6
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,9 @@ function clean_env
trap "clean_env" EXIT trap "clean_env" EXIT
git init $gitdir 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 # Run a quick test against the local distribution, presumed via debuginfod
unset DEBUGINFOD_VERBOSE DEBUGINFOD_PROGRESS unset DEBUGINFOD_VERBOSE DEBUGINFOD_PROGRESS

View File

@ -35,6 +35,9 @@ function clean_env
} }
git init $gitdir 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 # Build a little shared library, a binary against it, then
# break it with an update # break it with an update