forked from OSchip/llvm-project
Remove the test/tools/llvm-objdump/malformed-archives.test for
now while I investagate the bot failures with this test. llvm-svn: 277196
This commit is contained in:
parent
7c85862b17
commit
5207b5dcae
|
@ -1,60 +0,0 @@
|
|||
// These test checks that llvm-objdump will not crash with malformed Archive
|
||||
// files. So the check line is not all that important but the bug fixes to
|
||||
// make sure llvm-objdump is robust is what matters.
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus1.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus1 %s
|
||||
|
||||
# bogus1: libbogus1.a': truncated or malformed archive (characters in size field in archive header are not all decimal numbers: '10%' for archive member header at offset 8)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus2.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus2 %s
|
||||
|
||||
# bogus2: libbogus2.a': truncated or malformed archive (characters in size field in archive header are not all decimal numbers: '1%' for archive member header at offset 170)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus3.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus3 %s
|
||||
|
||||
# bogus3: libbogus3.a': truncated or malformed archive (offset to next archive member past the end of the archive after member foo.c)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus4.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus4 %s
|
||||
|
||||
# bogus4: libbogus4.a': truncated or malformed archive (remaining size of archive too small for next archive member header for foo.c)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus5.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus5 %s
|
||||
|
||||
# bogus5: libbogus5.a': truncated or malformed archive (terminator characters in archive member "@\n" not the correct "`\n" values for the archive member header for hello.c)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus6.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus6 %s
|
||||
|
||||
# bogus6: libbogus6.a': truncated or malformed archive (name contains a leading space for archive member header at offset 96)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus7.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus7 %s
|
||||
|
||||
# bogus7: libbogus7.a': truncated or malformed archive (long name length characters after the #1/ are not all decimal numbers: '@123$' for archive member header at offset 8)
|
||||
|
||||
# RUN: not llvm-objdump -macho -archive-headers \
|
||||
# RUN: %p/Inputs/libbogus8.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus8 %s
|
||||
|
||||
# bogus8: libbogus8.a(???) truncated or malformed archive (long name length: 1234 extends past the end of the member or archive for archive member header at offset 86)
|
||||
|
||||
# RUN: not llvm-objdump -s %p/Inputs/libbogus9.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus9 %s
|
||||
|
||||
# bogus9: libbogus9.a(???) truncated or malformed archive (long name offset characters after the '/' are not all decimal numbers: '&a25*' for archive member header at offset 94)
|
||||
|
||||
# RUN: not llvm-objdump -s %p/Inputs/libbogus10.a \
|
||||
# RUN: 2>&1 | FileCheck -check-prefix=bogus10 %s
|
||||
|
||||
# bogus10: libbogus10.a(???) truncated or malformed archive (long name offset 507 past the end of the string table for archive member header at offset 94)
|
Loading…
Reference in New Issue