llvm-mirror/test/Other/invalid-commandline-option.ll
Chandler Carruth d200829a4f 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
2012-07-02 18:37:59 +00:00

4 lines
86 B
LLVM

; RUN: not opt --foo 2>&1 | grep "Unknown command line argument"
; there is no --foo