equal
deleted
inserted
replaced
552 if el == l: # perfect match (fast) |
552 if el == l: # perfect match (fast) |
553 return True |
553 return True |
554 if (el and |
554 if (el and |
555 (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or |
555 (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or |
556 el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l) or |
556 el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l) or |
557 el.endswith(" (esc)\n") and el.decode('string-escape') == l)): |
557 el.endswith(" (esc)\n") and |
|
558 el[:-7].decode('string-escape') + '\n' == l)): |
558 return True |
559 return True |
559 return False |
560 return False |
560 |
561 |
561 def tsttest(test, wd, options, replacements): |
562 def tsttest(test, wd, options, replacements): |
562 # We generate a shell script which outputs unique markers to line |
563 # We generate a shell script which outputs unique markers to line |