projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11274cc
)
Test this differently: I saw this test fail
author
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jul 2008 19:09:01 +0000
(19:09 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jul 2008 19:09:01 +0000
(19:09 +0000)
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
test/Other/invalid-commandline-option.ll
patch
|
blob
|
history
diff --git
a/test/Other/invalid-commandline-option.ll
b/test/Other/invalid-commandline-option.ll
index cef09b9b6bbc4eda9a095e2bbd80290f40fae2cd..60840fa010a9ffcb4aacddda1b5f5c21e6e3ec37 100644
(file)
--- a/
test/Other/invalid-commandline-option.ll
+++ b/
test/Other/invalid-commandline-option.ll
@@
-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