diff -r 89668f3ba3bc -r 7fb45860e267 tests/run-tests.py --- a/tests/run-tests.py Mon Feb 10 14:08:42 2014 +0100 +++ b/tests/run-tests.py Tue Feb 11 22:50:56 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)