Submitter | Pierre-Yves David |
---|---|
Date | Sept. 7, 2019, 12:16 p.m. |
Message ID | <fd5c60869c435d10960d.1567858601@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/41532/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1611,10 +1611,10 @@ class TTest(Test): pos = -1 postout = [] - for l in output: - lout, lcmd = l, None - if salt in l: - lout, lcmd = l.split(salt, 1) + for out_rawline in output: + lout, lcmd = out_rawline, None + if salt in out_rawline: + lout, lcmd = out_rawline.split(salt, 1) while lout: if not lout.endswith(b'\n'):