$OpenBSD: patch-tests_run-tests_py,v 1.3 2011/03/28 00:11:34 fgsch Exp $
--- tests/run-tests.py.orig	Thu Mar 10 17:30:31 2011
+++ tests/run-tests.py	Sat Mar 26 04:42:04 2011
@@ -74,7 +74,8 @@ IMPL_PATH = 'PYTHONPATH'
 if 'java' in sys.platform:
     IMPL_PATH = 'JYTHONPATH'
 
-requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
+requiredtools = ["diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
+requiredtools.insert(0, os.path.basename(PYTHON))
 
 defaults = {
     'jobs': ('HGTEST_JOBS', 1),
