diff options
author | Dan Gohman <djg@cray.com> | 2007-12-11 15:50:23 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-12-11 15:50:23 +0000 |
commit | a510c3147aa2ba0f14329a76e5889da6b12ce75d (patch) | |
tree | eb8e63a790cc01243536dcd72946271dce38ecb3 /test/Linker/link-messages.ll | |
parent | e0c86a40c942792257a2bc0e177651bdbf298cc7 (diff) | |
download | external_llvm-a510c3147aa2ba0f14329a76e5889da6b12ce75d.zip external_llvm-a510c3147aa2ba0f14329a76e5889da6b12ce75d.tar.gz external_llvm-a510c3147aa2ba0f14329a76e5889da6b12ce75d.tar.bz2 |
Use not instead of ignore when an exit status is expected to always
be non-zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/link-messages.ll')
-rw-r--r-- | test/Linker/link-messages.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/link-messages.ll b/test/Linker/link-messages.ll index dae7240..133caf7 100644 --- a/test/Linker/link-messages.ll +++ b/test/Linker/link-messages.ll @@ -2,7 +2,7 @@ ; that error is printed out. ; RUN: llvm-as %s -o %t.one.bc -f ; RUN: llvm-as %s -o %t.two.bc -f -; RUN: ignore llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \ +; RUN: not llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \ ; RUN: -o %t.bc 2>%t.err ; RUN: grep "Function is already defined" %t.err |