Improved debugging output.

This commit is contained in:
Joe Testa 2023-03-21 10:48:58 -04:00
parent 7bbf4cdff0
commit cdaee69642
1 changed files with 2 additions and 0 deletions

View File

@ -453,6 +453,7 @@ run_test() {
actual_retval=$?
if [[ $actual_retval != "$expected_retval" ]]; then
echo -e "${REDB}Unexpected return value. Expected: ${expected_retval}; Actual: ${actual_retval}${CLR}"
cat $test_result_stdout
docker container stop -t 0 $cid > /dev/null
exit 1
fi
@ -461,6 +462,7 @@ run_test() {
actual_retval=$?
if [[ $actual_retval != "$expected_retval" ]]; then
echo -e "${REDB}Unexpected return value. Expected: ${expected_retval}; Actual: ${actual_retval}${CLR}"
cat $test_result_json
docker container stop -t 0 $cid > /dev/null
exit 1
fi