1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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.

llvm-svn: 54138
This commit is contained in:
Duncan Sands 2008-07-28 19:09:01 +00:00
parent 3a37809823
commit ac8ddfc48d

View File

@ -1,3 +1,3 @@
; RUN: llvm-as < /dev/null | not opt --foo >& /dev/null
; RUN: not opt --foo |& grep {Unknown command line argument}
; there is no --foo