jenkins-bot has submitted this change and it was merged.
Change subject: Fixup 178460 ......................................................................
Fixup 178460
It allows stdout to be a part of set(' >\n') not all of it
Change-Id: I1b24f33d2298d5a34a670b6b44506ab10f0c7b64 --- M tests/script_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index 88dd3be..f7e2422 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -338,7 +338,7 @@ # But also complain if there is any stdout # but ignore shell.py emiting its '>>> ' prompt. if ((script_name == 'shell' and - set(result['stdout']) == set('> \n')) + set(result['stdout']).issubset(set('> \n'))) or result['stdout'] == ''): result['stdout'] = None self.assertIsNone(result['stdout'])