# HG changeset patch # User Mads Kiilerich # Date 2011-11-16 02:45:14 # Node ID 9ec8569e9a8be9076ce076ab088b7bb178371b18 # Parent 10f302f5e9f65386cb4b545ec95d264a9d0c4440 tests: use the specified shell for running old fashioned sh tests diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -508,7 +508,7 @@ def pytest(test, wd, options, replacemen return run(cmd, wd, options, replacements) def shtest(test, wd, options, replacements): - cmd = '"%s"' % test + cmd = '%s "%s"' % (options.shell, test) vlog("# Running", cmd) return run(cmd, wd, options, replacements)