##// END OF EJS Templates
run-tests: handle .tst not ending with an LF
Patrick Mezard -
r12621:9a2de8da default
parent child Browse files
Show More
@@ -487,6 +487,8 b' def tsttest(test, options):'
487 # non-command/result - queue up for merged output
487 # non-command/result - queue up for merged output
488 after.setdefault(pos, []).append(l)
488 after.setdefault(pos, []).append(l)
489
489
490 if script and not script[-1].endswith('\n'):
491 script[-1] = script[-1] + '\n'
490 script.append('echo %s %s $?\n' % (salt, n + 1))
492 script.append('echo %s %s $?\n' % (salt, n + 1))
491
493
492 fd, name = tempfile.mkstemp(suffix='hg-tst')
494 fd, name = tempfile.mkstemp(suffix='hg-tst')
General Comments 0
You need to be logged in to leave comments. Login now