# HG changeset patch # User Idan Kamara # Date 2011-03-25 20:15:37 # Node ID 8ed67e44c71c6885112a631979aee3a059cd9232 # Parent 7a73c406c0fdc1f829abef8532d385b545040eec tests: set HOME to the test temp dir (issue2707) diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -694,7 +694,9 @@ def runone(options, test, skips, fails): runner = shtest # Make a tmp subdirectory to work in - testtmp = os.environ["TESTTMP"] = os.path.join(HGTMP, test) + testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ + os.path.join(HGTMP, test) + os.mkdir(testtmp) os.chdir(testtmp)