mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: test for weird aliases.
Test has inverted conditions to make it "pass", we fix as we go. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -116,10 +116,10 @@ class TailableProc(object):
|
||||
for l in self.logs[start:]:
|
||||
if ex.search(l):
|
||||
logging.debug("Found '%s' in logs", regex)
|
||||
return True
|
||||
return l
|
||||
|
||||
logging.debug("Did not find '%s' in logs", regex)
|
||||
return False
|
||||
return None
|
||||
|
||||
def wait_for_logs(self, regexs, timeout=60):
|
||||
"""Look for `regexs` in the logs.
|
||||
|
||||
Reference in New Issue
Block a user