[llvm-commits] [llvm] r54138 - /llvm/trunk/test/Other/invalid-commandline-option.ll
Duncan Sands
baldrick at free.fr
Mon Jul 28 12:09:02 PDT 2008
Author: baldrick
Date: Mon Jul 28 14:09:01 2008
New Revision: 54138
URL: http://llvm.org/viewvc/llvm-project?rev=54138&view=rev
Log:
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.
Modified:
llvm/trunk/test/Other/invalid-commandline-option.ll
Modified: llvm/trunk/test/Other/invalid-commandline-option.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/invalid-commandline-option.ll?rev=54138&r1=54137&r2=54138&view=diff
==============================================================================
--- llvm/trunk/test/Other/invalid-commandline-option.ll (original)
+++ llvm/trunk/test/Other/invalid-commandline-option.ll Mon Jul 28 14:09:01 2008
@@ -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
More information about the llvm-commits
mailing list