tests/run-tests.py
branchstable
changeset 1138 bb419c4bfdd9
parent 1135 7c026ccf4e1a
child 1139 cdabdd17f980
--- a/tests/run-tests.py	Thu Oct 04 16:52:20 2012 +0200
+++ b/tests/run-tests.py	Wed Oct 10 01:37:53 2012 +0200
@@ -690,8 +690,7 @@
             lout, lcmd = l.split(salt, 1)
 
         if lout:
-            if lcmd:
-                # output block had no trailing newline, clean up
+            if not lout.endswith('\n'):
                 lout += ' (no-eol)\n'
 
             # find the expected output at the current position