Skip to content

Commit

Permalink
Make 079f542 actually working.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 9, 2024
1 parent 079f542 commit 0c513fb
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions test_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,13 @@ start_mm() {
-DOPENSIPS_VER_FULL=${MM_VER_FULL} -DNRET=${nret}
done
set +e
if ! ${MM_BIN} -f "${MM_CFG}" -C
${MM_BIN} -f "${MM_CFG}" -C
MM_DRUN_RC="${?}"
if [ ${MM_DRUN_RC} -gt 127 ]
then
status=${?}
if [ ${status} -gt 127 ]
then
apt install -y gdb
gdb --batch -ex "run" -ex "bt" --args ${MM_BIN} -f "${MM_CFG}" -C
fi
exit ${status}
apt install -y gdb
gdb --batch -ex "run" -ex "bt" --args ${MM_BIN} -f "${MM_CFG}" -C
fi
MM_DRUN_RC="${?}"
report_rc_log "${MM_DRUN_RC}" "${MM_CFG}" "Checking ${MM_TYPE} config"
set -e
echo "--- Config Begins ---"
Expand Down

0 comments on commit 0c513fb

Please sign in to comment.