diff --git a/tests/run-tests.py b/tests/run-tests.py
index 10f302f5e9f65386cb4b545ec95d264a9d0c4440_dGVzdHMvcnVuLXRlc3RzLnB5..9ec8569e9a8be9076ce076ab088b7bb178371b18_dGVzdHMvcnVuLXRlc3RzLnB5 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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)