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

[tor-commits] [tor/release-0.3.5] Also log a Tor log entry when it has a substring we are waiting for



commit 945c4dfda014724375e499afef77a9abd1449631
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Tue Nov 13 11:38:51 2018 +0200

    Also log a Tor log entry when it has a substring we are waiting for
---
 src/test/test_rebind.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_rebind.py b/src/test/test_rebind.py
index cab6aafbb..2215b4225 100644
--- a/src/test/test_rebind.py
+++ b/src/test/test_rebind.py
@@ -30,6 +30,7 @@ def wait_for_log(s):
         l = tor_process.stdout.readline()
         l = l.decode('utf8')
         if s in l:
+            logging.info('Tor logged: "{}"'.format(l.strip()))
             return
         logging.info('Tor logged: "{}", waiting for "{}"'.format(l.strip(), s))
         # readline() returns a blank string when there is no output



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits