Show More
@@ -604,7 +604,7 b' def run(cmd, options, replacements):' | |||
|
604 | 604 | raise |
|
605 | 605 | |
|
606 | 606 | for s, r in replacements: |
|
607 |
output = |
|
|
607 | output = re.sub(s, r, output) | |
|
608 | 608 | return ret, splitnewlines(output) |
|
609 | 609 | |
|
610 | 610 | def runone(options, test, skips, fails): |
@@ -677,10 +677,10 b' def runone(options, test, skips, fails):' | |||
|
677 | 677 | signal.alarm(options.timeout) |
|
678 | 678 | |
|
679 | 679 | ret, out = runner(testpath, options, [ |
|
680 | (testtmp, '$TESTTMP'), | |
|
681 | (':%s' % options.port, ':$HGPORT'), | |
|
682 | (':%s' % (options.port + 1), ':$HGPORT1'), | |
|
683 | (':%s' % (options.port + 2), ':$HGPORT2'), | |
|
680 | (re.escape(testtmp), '$TESTTMP'), | |
|
681 | (r':%s\b' % options.port, ':$HGPORT'), | |
|
682 | (r':%s\b' % (options.port + 1), ':$HGPORT1'), | |
|
683 | (r':%s\b' % (options.port + 2), ':$HGPORT2'), | |
|
684 | 684 | ]) |
|
685 | 685 | vlog("# Ret was:", ret) |
|
686 | 686 |
General Comments 0
You need to be logged in to leave comments.
Login now