forked from OSchip/llvm-project
Add a testcase for an invalid file.
We were already checking this, but had no tests. llvm-svn: 240945
This commit is contained in:
parent
f934a6a104
commit
f87b05e43b
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