commit 945c4dfda014724375e499afef77a9abd1449631 Author: rl1987 rl1987@sdf.lonestar.org 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@lists.torproject.org