diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-11-13 11:38:51 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-01 11:18:03 -0500 |
commit | 945c4dfda014724375e499afef77a9abd1449631 (patch) | |
tree | 8b311a0dbf7ff8cf77eb37363b49c73d5b8ecb55 | |
parent | 4c4ed413ee5d865e46a5659c4f6b5b88f12f37b7 (diff) | |
download | tor-945c4dfda014724375e499afef77a9abd1449631.tar.gz tor-945c4dfda014724375e499afef77a9abd1449631.zip |
Also log a Tor log entry when it has a substring we are waiting for
-rw-r--r-- | src/test/test_rebind.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_rebind.py b/src/test/test_rebind.py index cab6aafbb6..2215b42253 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 |