# HG changeset patch # User Simon Heimberg # Date 1392077707 -3600 # Node ID 953d562c3ebf93640f298fc4540568d7b0b785ad # Parent 8caca8a82e37be71ea4b715b07ee850220cf5059 run-tests: fix typo and print out failing line Instead of stripping the newline and printing the line, only the newline was printed. The output on buildbot will make more sense now. [ original upstream message ] diff -r 8caca8a82e37 -r 953d562c3ebf tests/run-tests.py --- a/tests/run-tests.py Wed Feb 05 01:37:37 2014 +0100 +++ b/tests/run-tests.py Tue Feb 11 01:15:07 2014 +0100 @@ -800,7 +800,7 @@ r = False elif r == '-glob': log('\ninfo, unnecessary glob in %s (after line %d):' - ' %s (glob)\n' % (test, pos, el[-1])) + ' %s (glob)\n' % (test, pos, el[:-1])) r = True # pass on unnecessary glob else: log('\ninfo, unknown linematch result: %r\n' % r)