##// END OF EJS Templates
runtests: export HGIPV6 to hint test scripts whether to use IPv6...
Jun Wu -
r31003:225f574e default
parent child Browse files
Show More
@@ -588,6 +588,7 b' class Test(unittest.TestCase):'
588 self._shell = _bytespath(shell)
588 self._shell = _bytespath(shell)
589 self._hgcommand = hgcommand or b'hg'
589 self._hgcommand = hgcommand or b'hg'
590 self._usechg = usechg
590 self._usechg = usechg
591 self._useipv6 = useipv6
591
592
592 self._aborted = False
593 self._aborted = False
593 self._daemonpids = []
594 self._daemonpids = []
@@ -878,6 +879,7 b' class Test(unittest.TestCase):'
878 env["HGUSER"] = "test"
879 env["HGUSER"] = "test"
879 env["HGENCODING"] = "ascii"
880 env["HGENCODING"] = "ascii"
880 env["HGENCODINGMODE"] = "strict"
881 env["HGENCODINGMODE"] = "strict"
882 env['HGIPV6'] = str(int(self._useipv6))
881
883
882 # Reset some environment variables to well-known values so that
884 # Reset some environment variables to well-known values so that
883 # the tests produce repeatable output.
885 # the tests produce repeatable output.
General Comments 0
You need to be logged in to leave comments. Login now