--- a/tests/run-tests.py Fri May 24 13:41:20 2013 -0500
+++ b/tests/run-tests.py Fri May 24 13:47:17 2013 -0500
@@ -918,6 +918,7 @@
# Make a tmp subdirectory to work in
testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \
os.path.join(HGTMP, os.path.basename(test))
+ os.mkdir(testtmp)
replacements = [
(r':%s\b' % options.port, ':$HGPORT'),
@@ -934,7 +935,6 @@
else:
replacements.append((re.escape(testtmp), '$TESTTMP'))
- os.mkdir(testtmp)
if options.time:
starttime = time.time()
ret, out = runner(testpath, testtmp, options, replacements)