$OpenBSD: patch-tests_run-tests_py,v 1.4 2012/03/20 19:55:38 rpointel Exp $
--- tests/run-tests.py.orig	Thu Mar  1 23:27:57 2012
+++ tests/run-tests.py	Mon Mar 19 07:32:19 2012
@@ -92,7 +92,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),
