lit needs bash for tcl-as-sh execution, we use set -o pipefail.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 06:08:07 +0000 (06:08 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 06:08:07 +0000 (06:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81197 91177308-0d34-0410-b5e6-96231b3b80d8

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)