diff tests/run-tests.py @ 16905:2a95830cff77

tests: use the right directory for running hghave from run-tests.py
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 10 Jun 2012 18:50:42 +0200
parents 671c73d523cf
children eddfb9a550d0
line wrap: on
line diff
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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):