summaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-28 19:09:01 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-28 19:09:01 +0000
commitecf4fa27442a45ff1903c0d98c5eb5c5fbd982b2 (patch)
tree8ffc6fb58895ce1a6871eed7c4f501dd80f39419 /test/Other
parent11274cc48f54344e80d5d40c8f595ee785c2b6e1 (diff)
downloadllvm-ecf4fa27442a45ff1903c0d98c5eb5c5fbd982b2.tar.gz
llvm-ecf4fa27442a45ff1903c0d98c5eb5c5fbd982b2.tar.bz2
llvm-ecf4fa27442a45ff1903c0d98c5eb5c5fbd982b2.tar.xz
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
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/invalid-commandline-option.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Other/invalid-commandline-option.ll b/test/Other/invalid-commandline-option.ll
index cef09b9b6b..60840fa010 100644
--- 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