tests/run-tests.py
changeset 1205 531804688bf5
parent 1204 469ccfe7aa92
child 1208 9bd54c35af97
--- a/tests/run-tests.py	Wed Jan 16 20:56:02 2013 +0000
+++ b/tests/run-tests.py	Sat Jan 19 09:40:50 2013 +0000
@@ -751,8 +751,7 @@
     Return a tuple (exitcode, output).  output is None in debug mode."""
     # TODO: Use subprocess.Popen if we're running on Python 2.4
     if options.debug:
-        proc = subprocess.Popen(cmd, shell=True, cwd=wd, stdin=subprocess.PIPE)
-        proc.stdin.close()
+        proc = subprocess.Popen(cmd, shell=True, cwd=wd)
         ret = proc.wait()
         return (ret, None)
 
@@ -875,6 +874,7 @@
     hgrc = open(HGRCPATH, 'w+')
     hgrc.write('[ui]\n')
     hgrc.write('slash = True\n')
+    hgrc.write('interactive = False\n')
     hgrc.write('[defaults]\n')
     hgrc.write('backout = -d "0 0"\n')
     hgrc.write('commit = -d "0 0"\n')