diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1423,7 +1423,7 @@ class TTest(Test): # Don't append as optional line continue else: - break + continue postout.append(b' ' + el) if lcmd: diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -177,6 +177,13 @@ test diff colorisation > b.r (re) (true !) > missing (?) > awol (true !) + > + > The "missing" line should stay, even though awol is dropped + > $ echo 'testing' + > test.ng (re) (true !) + > foo.ar (?) + > awol + > missing (?) > EOF $ rt test-failure.t @@ -194,13 +201,22 @@ test diff colorisation foobar*foo (glob) (false !) te*ting (glob) (true !) - @@ -13,6 +11,4 @@ + foo.ar (re) (false !) + missing (?) + @@ -13,13 +11,10 @@ $ echo 'testing' test.ng (re) (true !) foo.ar (re) (false !) - b.r (re) (true !) missing (?) - awol (true !) + + The "missing" line should stay, even though awol is dropped + $ echo 'testing' + test.ng (re) (true !) + foo.ar (?) + - awol + missing (?) ERROR: test-failure.t output changed !