tests: use the specified shell for running old fashioned sh tests
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Nov 2011 03:45:14 +0100
changeset 15517 9ec8569e9a8b
parent 15516 10f302f5e9f6
child 15518 d01e08ea459d
tests: use the specified shell for running old fashioned sh tests
tests/run-tests.py
--- a/tests/run-tests.py	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/run-tests.py	Wed Nov 16 03:45:14 2011 +0100
@@ -508,7 +508,7 @@
     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)