mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add a testcase for an invalid file.
We were already checking this, but had no tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db89b93b44
commit
528a204ab9
BIN
test/Object/Inputs/invalid-strtab-non-null.elf
Normal file
BIN
test/Object/Inputs/invalid-strtab-non-null.elf
Normal file
Binary file not shown.
@ -1,3 +1,6 @@
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid-bad-rel-type.elf 2>&1 | FileCheck %s
|
||||
RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-type.elf 2>&1 | FileCheck %s
|
||||
CHECK: Invalid data was encountered while parsing the file
|
||||
|
||||
RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-non-null.elf 2>&1 | FileCheck --check-prefix=NON-NULL %s
|
||||
NON-NULL: String table must end with a null terminator
|
||||
|
Loading…
Reference in New Issue
Block a user