Convert an assert that can fail into error checking.
[oota-llvm.git] / test / Object / invalid.test
1 RUN: not llvm-dwarfdump %p/Inputs/invalid-bad-rel-type.elf 2>&1 | FileCheck %s
2 RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-type.elf 2>&1 | FileCheck %s
3 CHECK: Invalid data was encountered while parsing the file