tests/run-tests.py
branchstable
changeset 1138 bb419c4bfdd9
parent 1135 7c026ccf4e1a
child 1139 cdabdd17f980
equal deleted inserted replaced
1136:294cea906d3a 1138:bb419c4bfdd9
   688         lout, lcmd = l, None
   688         lout, lcmd = l, None
   689         if salt in l:
   689         if salt in l:
   690             lout, lcmd = l.split(salt, 1)
   690             lout, lcmd = l.split(salt, 1)
   691 
   691 
   692         if lout:
   692         if lout:
   693             if lcmd:
   693             if not lout.endswith('\n'):
   694                 # output block had no trailing newline, clean up
       
   695                 lout += ' (no-eol)\n'
   694                 lout += ' (no-eol)\n'
   696 
   695 
   697             # find the expected output at the current position
   696             # find the expected output at the current position
   698             el = None
   697             el = None
   699             if pos in expected and expected[pos]:
   698             if pos in expected and expected[pos]: