aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test-common.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-11-25 11:41:12 -0800
committerGerald Combs <gerald@wireshark.org>2021-11-25 11:41:12 -0800
commit0385e7448ae0e01f633cb0aa8eedb4f05212a103 (patch)
treee2609ba948c18fd9224d96ce03373d8f88dff1d2 /tools/test-common.sh
parent4e879c5d16ae9a4915b79f91d5d6d1923d98bacf (diff)
Tools: Add our branch name to fuzz error reports.
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-xtools/test-common.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index bad5505f89..bc3f6f291e 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -138,8 +138,12 @@ function ws_exit_error() {
uname -srvm
lsb_release -a 2> /dev/null
+ if [ -n "$CI_COMMIT_BRANCH" ] ; then
+ echo -e "\nBranch: $CI_COMMIT_BRANCH"
+ fi
+
if [ -n "$CI_JOB_NAME" ] ; then
- echo -e "\nCI job name: $CI_JOB_NAME, ID: $CI_JOB_ID "
+ echo -e "\nCI job name: $CI_JOB_NAME, ID: $CI_JOB_ID"
fi
echo -e "\nReturn value: " $RETVAL