From 49589f0d0e35f643e697ab7ae8a51a530d38b0d8 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 2 Jul 2012 18:37:59 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159544 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/invalid-commandline-option.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Other/invalid-commandline-option.ll') diff --git a/test/Other/invalid-commandline-option.ll b/test/Other/invalid-commandline-option.ll index 3af40dd55d..583d4496dc 100644 --- a/test/Other/invalid-commandline-option.ll +++ b/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 -- cgit v1.2.3