[PATCH 2 of 3] tests: let run-tests.py default to use 'sh' in $PATH instead of '/bin/sh'
Mads Kiilerich
mads at kiilerich.com
Fri Jan 20 00:32:02 UTC 2012
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1327019056 -3600
# Branch stable
# Node ID cea92143d7a2f40d0e028a1bad546959308c47b0
# Parent dda12de35d0569ac15c75af4419c2a28487378e9
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.
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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):
More information about the Mercurial-devel
mailing list