# HG changeset patch # User Mads Kiilerich # Date 1286595371 18000 # Node ID 7d66d78e6179f883431f795faa627c43e210112b # Parent 725ab7fe00e5c31545b2ff79bd857e9c79de397b tests: reintroduce ":$HGPORT" in test output This reduces the number of patterns that must be adjusted when writing tests. [ original upstream description ] diff -r 725ab7fe00e5 -r 7d66d78e6179 tests/run-tests.py --- a/tests/run-tests.py Fri Oct 08 22:36:10 2010 -0500 +++ b/tests/run-tests.py Fri Oct 08 22:36:11 2010 -0500 @@ -691,7 +691,12 @@ if options.timeout > 0: signal.alarm(options.timeout) - ret, out = runner(testpath, options, [(testtmp, '$TESTTMP')]) + ret, out = runner(testpath, options, [ + (testtmp, '$TESTTMP'), + (':%s' % options.port, ':$HGPORT'), + (':%s' % (options.port + 1), ':$HGPORT1'), + (':%s' % (options.port + 2), ':$HGPORT2'), + ]) vlog("# Ret was:", ret) if options.timeout > 0: