# HG changeset patch # User Matt Mackall # Date 1370208154 18000 # Node ID 1168e50a48e504dced270c28bcc3efacc9e43c0d # Parent 00ca4c2f51cc8741a2e349beae1ae1e7a051b521 run-tests: move HGPORT setting to env [ original upstream message ] diff -r 00ca4c2f51cc -r 1168e50a48e5 tests/run-tests.py --- a/tests/run-tests.py Sun Jun 02 15:33:41 2013 -0500 +++ b/tests/run-tests.py Sun Jun 02 16:22:34 2013 -0500 @@ -932,6 +932,9 @@ env = os.environ.copy() env['TESTTMP'] = testtmp env['HOME'] = testtmp + env["HGPORT"] = str(options.port) + env["HGPORT1"] = str(options.port + 1) + env["HGPORT2"] = str(options.port + 2) if options.time: starttime = time.time() @@ -1305,9 +1308,6 @@ os.environ["HGUSER"] = "test" os.environ["HGENCODING"] = "ascii" os.environ["HGENCODINGMODE"] = "strict" - os.environ["HGPORT"] = str(options.port) - os.environ["HGPORT1"] = str(options.port + 1) - os.environ["HGPORT2"] = str(options.port + 2) if options.with_hg: INST = None