ci: print test_network_log contents

cat will always print "cat: test_network_log: Is a directory". change it to
head -n -0, which is arguably not the perfect format but is at least somewhat
useful.
This commit is contained in:
Alex Xu (Hello71) 2022-03-28 15:43:31 -04:00
parent 62fb184979
commit 802baa8b6b

View File

@ -442,7 +442,7 @@ if [[ "${CHUTNEY}" = "yes" ]]; then
runcmd "${CHUTNEY_PATH}"/tools/diagnostics.sh || true runcmd "${CHUTNEY_PATH}"/tools/diagnostics.sh || true
# XXXX These next two should be part of a make target. # XXXX These next two should be part of a make target.
runcmd ls test_network_log || true runcmd ls test_network_log || true
runcmd cat test_network_log || true runcmd head -n -0 test_network_log/* || true
FAILED_TESTS="${FAILED_TESTS} chutney" FAILED_TESTS="${FAILED_TESTS} chutney"
fi fi
end_section "Chutney" end_section "Chutney"