##// END OF EJS Templates
tests: inform on Windows about unnecessary glob lines...
Simon Heimberg -
r18681:7591ed29 default
parent child Browse files
Show More
@@ -542,6 +542,11 b' def globmatch(el, l):'
542 # The only supported special characters are * and ? plus / which also
542 # The only supported special characters are * and ? plus / which also
543 # matches \ on windows. Escaping of these caracters is supported.
543 # matches \ on windows. Escaping of these caracters is supported.
544 if el + '\n' == l:
544 if el + '\n' == l:
545 if os.name == 'nt':
546 # matching on "/" is not needed for this line
547 iolock.acquire()
548 print "\nInfo, unnecessary glob: %s (glob)" % el
549 iolock.release()
545 return True
550 return True
546 i, n = 0, len(el)
551 i, n = 0, len(el)
547 res = ''
552 res = ''
General Comments 0
You need to be logged in to leave comments. Login now