changeset 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 10f302f5e9f6
children d01e08ea459d
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)