lit needs bash for tcl-as-sh execution, we use set -o pipefail.
[oota-llvm.git] / utils / lit / TestRunner.py
index 5c1e8ea5be1a915578481c06f1f767428f324006..3e4b2c6cebe31248ff23b28a25326d7c299756a1 100644 (file)
@@ -213,7 +213,7 @@ def executeTclScriptInternal(test, litConfig, tmpBase, commands, cwd):
             print >>sys.stdout
             return '', '', 0
 
-        command = ['/bin/sh', script]
+        command = ['/bin/bash', script]
         out,err,exitCode = executeCommand(command, cwd=cwd,
                                           env=test.config.environment)