# HG changeset patch # User Mads Kiilerich # Date 1339347042 -7200 # Node ID 467eb2068e4a32e3e20bfa79a4b1d2bc327514e5 # Parent 660262879b489f9f36e6810e1f04dbe7f83b2517 tests: use the right directory for running hghave from run-tests.py [ original upstream message ] diff -r 660262879b48 -r 467eb2068e4a tests/run-tests.py --- 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):