diff tests/run-tests.py @ 13764:8ed67e44c71c

tests: set HOME to the test temp dir (issue2707)
author Idan Kamara <idankk86@gmail.com>
date Fri, 25 Mar 2011 22:15:37 +0200
parents b3330b8e1e6f
children 55f4941f98c8
line wrap: on
line diff
--- a/tests/run-tests.py	Fri Mar 25 15:03:53 2011 +0100
+++ b/tests/run-tests.py	Fri Mar 25 22:15:37 2011 +0200
@@ -694,7 +694,9 @@
         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)