From: Alex Xu (Hello71) Date: Mon, 28 Mar 2022 19:43:31 +0000 (-0400) Subject: ci: print test_network_log contents X-Git-Tag: tor-0.4.7.6-rc~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=802baa8b6bb70e58e8415c48ec518d4a9f5acfa8;p=thirdparty%2Ftor.git 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. --- diff --git a/scripts/ci/ci-driver.sh b/scripts/ci/ci-driver.sh index 09696924ba..eea98baae7 100755 --- a/scripts/ci/ci-driver.sh +++ b/scripts/ci/ci-driver.sh @@ -442,7 +442,7 @@ if [[ "${CHUTNEY}" = "yes" ]]; then runcmd "${CHUTNEY_PATH}"/tools/diagnostics.sh || true # XXXX These next two should be part of a make target. 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" fi end_section "Chutney"