$OpenBSD: patch-tests_run-tests_py,v 1.2 2009/08/01 03:21:46 fgsch Exp $
--- tests/run-tests.py.orig	Thu Jul 23 18:58:07 2009
+++ tests/run-tests.py	Mon Jul 27 02:01:17 2009
@@ -67,7 +67,8 @@ SKIPPED_PREFIX = 'skipped: '
 FAILED_PREFIX  = 'hghave check failed: '
 PYTHON = sys.executable
 
-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),
