lit needs bash for tcl-as-sh execution, we use set -o pipefail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81197 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/lit/TestRunner.py b/utils/lit/TestRunner.py
index 5c1e8ea..3e4b2c6 100644
--- a/utils/lit/TestRunner.py
+++ b/utils/lit/TestRunner.py
@@ -213,7 +213,7 @@
print >>sys.stdout
return '', '', 0
- command = ['/bin/sh', script]
+ command = ['/bin/bash', script]
out,err,exitCode = executeCommand(command, cwd=cwd,
env=test.config.environment)