tests/run-tests.py
branchstable
changeset 1215 62ff53b05730
parent 1212 2ea362720f72
child 1216 192cebcd59a0
equal deleted inserted replaced
1214:82697301ffa2 1215:62ff53b05730
   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