From cdaee696425a692b289395a13278a6a732cb5b1f Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Tue, 21 Mar 2023 10:48:58 -0400 Subject: [PATCH] Improved debugging output. --- docker_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker_test.sh b/docker_test.sh index 2a179d6..dfb33d3 100755 --- a/docker_test.sh +++ b/docker_test.sh @@ -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