[tor-commits] [chutney/master] Log all warnings generated by tor after testing a network

teor at torproject.org teor at torproject.org
Fri Feb 24 00:35:01 UTC 2017


commit a503fefe9c4e49786316b12fcc05b563f52ac464
Author: teor <teor2345 at gmail.com>
Date:   Thu Feb 23 17:05:49 2017 +1100

    Log all warnings generated by tor after testing a network
    
    Part of #21371.
---
 tools/test-network.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/test-network.sh b/tools/test-network.sh
index 7289126..e3b91f4 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -206,6 +206,7 @@ if [ "$CHUTNEY_START_TIME" -ge 0 ]; then
 else
   echo "Chutney network launched and running. To stop the network, use:"
   echo "$PWD/chutney stop $PWD/$CHUTNEY_NETWORK"
+  CHUTNEY_WARNINGS_IGNORE_EXPECTED=1 "$CHUTNEY_PATH/tools/warnings.sh"
   exit 0
 fi
 
@@ -216,6 +217,7 @@ if [ "$CHUTNEY_BOOTSTRAP_TIME" -ge 0 ]; then
 else
   echo "Chutney network ready and running. To stop the network, use:"
   echo "$PWD/chutney stop $PWD/$CHUTNEY_NETWORK"
+  CHUTNEY_WARNINGS_IGNORE_EXPECTED=1 "$CHUTNEY_PATH/tools/warnings.sh"
   exit 0
 fi
 
@@ -231,5 +233,6 @@ if [ "$CHUTNEY_STOP_TIME" -ge 0 ]; then
 else
   echo "Chutney network verified and running. To stop the network, use:"
   echo "$PWD/chutney stop $PWD/$CHUTNEY_NETWORK"
+  CHUTNEY_WARNINGS_IGNORE_EXPECTED=1 "$CHUTNEY_PATH/tools/warnings.sh"
   exit 0
 fi





More information about the tor-commits mailing list