Show More
@@ -606,7 +606,7 b' def globmatch(el, l):' | |||
|
606 | 606 | if el + '\n' == l: |
|
607 | 607 | if os.altsep: |
|
608 | 608 | # matching on "/" is not needed for this line |
|
609 | log("\nInfo, unnecessary glob: %s (glob)" % el) | |
|
609 | return '-glob' | |
|
610 | 610 | return True |
|
611 | 611 | i, n = 0, len(el) |
|
612 | 612 | res = '' |
@@ -798,6 +798,13 b' def tsttest(test, wd, options, replaceme' | |||
|
798 | 798 | if r == '+glob': |
|
799 | 799 | lout = el[:-1] + ' (glob)\n' |
|
800 | 800 | r = False |
|
801 | elif r == '-glob': | |
|
802 | log('\ninfo, unnecessary glob in %s (after line %d):' | |
|
803 | ' %s (glob)\n' % (test, pos, el[-1])) | |
|
804 | r = True # pass on unnecessary glob | |
|
805 | else: | |
|
806 | log('\ninfo, unknown linematch result: %r\n' % r) | |
|
807 | r = False | |
|
801 | 808 | if r: |
|
802 | 809 | postout.append(" " + el) |
|
803 | 810 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now