tests: let run-tests.py default to use 'sh' in $PATH instead of '/bin/sh' stable
authorMads Kiilerich <mads@kiilerich.com>
Fri, 20 Jan 2012 01:24:16 +0100
branchstable
changeset 1045 0a2285b90e22
parent 1044 23c6e5d22e79
child 1046 2890e1f3d8e4
tests: let run-tests.py default to use 'sh' in $PATH instead of '/bin/sh' This makes it easier to run tests on systems that have a usable sh in the search path but not in the standard location. [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sat Jan 14 01:55:50 2012 +0100
+++ b/tests/run-tests.py	Fri Jan 20 01:24:16 2012 +0100
@@ -98,7 +98,7 @@
     'jobs': ('HGTEST_JOBS', 1),
     'timeout': ('HGTEST_TIMEOUT', 180),
     'port': ('HGTEST_PORT', 20059),
-    'shell': ('HGTEST_SHELL', '/bin/sh'),
+    'shell': ('HGTEST_SHELL', 'sh'),
 }
 
 def parselistfiles(files, listtype, warn=True):