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 | 4d363175b5cdf80193463c5b1a7cf30666a2878e (patch) | |
tree | 8ffc6fb58895ce1a6871eed7c4f501dd80f39419 /test | |
parent | 66b1d1c41f561a24047bde13917339c469ce0ab8 (diff) | |
download | external_llvm-4d363175b5cdf80193463c5b1a7cf30666a2878e.zip external_llvm-4d363175b5cdf80193463c5b1a7cf30666a2878e.tar.gz external_llvm-4d363175b5cdf80193463c5b1a7cf30666a2878e.tar.bz2 |
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')
-rw-r--r-- | test/Other/invalid-commandline-option.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Other/invalid-commandline-option.ll b/test/Other/invalid-commandline-option.ll index cef09b9..60840fa 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 |