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 15941 af289d6cd422
parent 15940 4bc35496136f
child 15942 d7a34c07e69b
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.
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):