diff options
| author | Duncan Sands <baldrick@free.fr> | 2008-07-28 19:09:01 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2008-07-28 19:09:01 +0000 |
| commit | ced7c7220e6d3c79d482cb4da535dbe945865844 (patch) | |
| tree | 6fa0dbf0692c4a085693427922160b99b06f447c /llvm | |
| parent | ac3cf6657b1202c1b9fca7ecb7885d38a65ec4b4 (diff) | |
| download | bcm5719-llvm-ced7c7220e6d3c79d482cb4da535dbe945865844.tar.gz bcm5719-llvm-ced7c7220e6d3c79d482cb4da535dbe945865844.zip | |
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
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Other/invalid-commandline-option.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Other/invalid-commandline-option.ll b/llvm/test/Other/invalid-commandline-option.ll index cef09b9b6bb..60840fa010a 100644 --- a/llvm/test/Other/invalid-commandline-option.ll +++ b/llvm/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 |

