tests: use the specified shell for running old fashioned sh tests stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Nov 2011 03:45:14 +0100
branchstable
changeset 1022 34ebea1c49c9
parent 1019 e7fbd63e5a98
child 1023 c7a801067441
child 1024 0b56a38520af
tests: use the specified shell for running old fashioned sh tests [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Mon Nov 07 03:25:10 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)