diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-11-25 11:41:12 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2021-11-25 11:41:12 -0800 |
commit | 0385e7448ae0e01f633cb0aa8eedb4f05212a103 (patch) | |
tree | e2609ba948c18fd9224d96ce03373d8f88dff1d2 /tools/test-common.sh | |
parent | 4e879c5d16ae9a4915b79f91d5d6d1923d98bacf (diff) |
Tools: Add our branch name to fuzz error reports.
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-x | tools/test-common.sh | 6 |
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 |