Convert an assert that can fail into error checking.
[oota-llvm.git] / test / Object / invalid.test
index 73bf62a1ed4ed6a53d959d02a9eb85adf1b379a8..2e2c924dfaeff0ddfb669a79bcbc26756bda79a9 100644 (file)
@@ -1,2 +1,3 @@
 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