tests/run-tests.py
branchstable
changeset 829 7d66d78e6179
parent 826 ac9b63e01e2a
child 833 a9c6ada32647
--- 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: