tests/run-tests.py
branchstable
changeset 1094 467eb2068e4a
parent 1093 660262879b48
child 1126 dbcb11553a3b
--- a/tests/run-tests.py	Sun Jun 10 18:50:42 2012 +0200
+++ b/tests/run-tests.py	Sun Jun 10 18:50:42 2012 +0200
@@ -601,7 +601,7 @@
         # TODO: do something smarter when all other uses of hghave is gone
         tdir = TESTDIR.replace('\\', '/')
         proc = Popen4('%s -c "%s/hghave %s"' %
-                      (options.shell, tdir, ' '.join(reqs)), TESTDIR, 0)
+                      (options.shell, tdir, ' '.join(reqs)), wd, 0)
         proc.communicate()
         ret = proc.wait()
         if wifexited(ret):