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

gitolite role git at cupani.torproject.org
Mon Apr 4 14:14:04 UTC 2022


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 at yahoo.ca>
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.


More information about the tor-commits mailing list