diff tests/run-tests.py @ 15517:9ec8569e9a8b

tests: use the specified shell for running old fashioned sh tests
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Nov 2011 03:45:14 +0100
parents 23144f06919c
children 3e13ade423f0
line wrap: on
line diff
--- 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)