From 802baa8b6bb70e58e8415c48ec518d4a9f5acfa8 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Mon, 28 Mar 2022 15:43:31 -0400 Subject: [PATCH] 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. --- scripts/ci/ci-driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"