[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor] branch main updated: ci: print test_network_log contents



This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
     new 802baa8b6b ci: print test_network_log contents
     new 6e36b65475 Merge branch 'tor-gitlab/mr/557'
802baa8b6b is described below

commit 802baa8b6bb70e58e8415c48ec518d4a9f5acfa8
Author: Alex Xu (Hello71) <alex_y_xu@xxxxxxxx>
AuthorDate: Mon Mar 28 15:43:31 2022 -0400

    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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits