run-test: replace backslashes in TESTDIR
This may cause troubles in MSYS on Windows.
[ original upstream message ]
--- a/tests/run-tests.py Sat Jun 02 10:09:59 2012 +0200
+++ b/tests/run-tests.py Sun Jun 03 19:35:23 2012 +0200
@@ -1197,7 +1197,7 @@
del os.environ[k]
global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
- TESTDIR = os.environ["TESTDIR"] = os.getcwd()
+ TESTDIR = os.environ["TESTDIR"] = os.getcwd().replace('\\', '/')
if options.tmpdir:
options.keep_tmpdir = True
tmpdir = options.tmpdir