summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/invalid-commandline-option.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
commit5da53436d526162bf696ba40df3841a6b5992fbd (patch)
tree061f2e5a2277613b41b14a278e718134527edf99 /llvm/test/Other/invalid-commandline-option.ll
parent9b887d11b5061226d9b19462f13f8e1de54cb4f4 (diff)
downloadbcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.tar.gz
bcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.zip
Convert the uses of '|&' to use '2>&1 |' instead, which works on old
versions of Bash. In addition, I can back out the change to the lit built-in shell test runner to support this. This should fix the majority of fallout on Darwin, but I suspect there will be a few straggling issues. llvm-svn: 159544
Diffstat (limited to 'llvm/test/Other/invalid-commandline-option.ll')
-rw-r--r--llvm/test/Other/invalid-commandline-option.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Other/invalid-commandline-option.ll b/llvm/test/Other/invalid-commandline-option.ll
index 3af40dd55de..583d4496dcc 100644
--- a/llvm/test/Other/invalid-commandline-option.ll
+++ b/llvm/test/Other/invalid-commandline-option.ll
@@ -1,3 +1,3 @@
-; RUN: not opt --foo |& grep "Unknown command line argument"
+; RUN: not opt --foo 2>&1 | grep "Unknown command line argument"
; there is no --foo
OpenPOWER on IntegriCloud