llvm.org GIT mirror llvm / ecf4fa2
Test this differently: I saw this test fail because opt exited while llvm-as was still writing to the pipe, causing it to get a SIGPIPE. It seems best to change things to avoid the race altogether. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54138 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llvm-as < /dev/null | not opt --foo >& /dev/null
0 ; RUN: not opt --foo |& grep {Unknown command line argument}
22 ; there is no --foo