* [PATCH, applied] tests/runtestabidb?.sh.in: Fix git initialization
@ 2024-04-18 16:14 Dodji Seketeli
0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2024-04-18 16:14 UTC (permalink / raw)
To: libabigail
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(+)
diff --git a/tests/runtestabidb1.sh.in b/tests/runtestabidb1.sh.in
index ad4b7e28..9a0dc059 100755
--- a/tests/runtestabidb1.sh.in
+++ b/tests/runtestabidb1.sh.in
@@ -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
diff --git a/tests/runtestabidb2.sh.in b/tests/runtestabidb2.sh.in
index bff5fc53..f2ce7adf 100755
--- a/tests/runtestabidb2.sh.in
+++ b/tests/runtestabidb2.sh.in
@@ -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
--
2.39.3
--
Dodji
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-18 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 16:14 [PATCH, applied] tests/runtestabidb?.sh.in: Fix git initialization Dodji Seketeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).