tests/run-tests.py
changeset 18680 15711d9d8b2c
parent 18616 35b4affe6fdd
child 18681 7591ed29e824
equal deleted inserted replaced
18678:423eee0b0b14 18680:15711d9d8b2c
   539         return False
   539         return False
   540 
   540 
   541 def globmatch(el, l):
   541 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:
       
   545         return True
   544     i, n = 0, len(el)
   546     i, n = 0, len(el)
   545     res = ''
   547     res = ''
   546     while i < n:
   548     while i < n:
   547         c = el[i]
   549         c = el[i]
   548         i += 1
   550         i += 1