Index: llvm/test/Object/corrupt.test =================================================================== --- llvm/test/Object/corrupt.test +++ llvm/test/Object/corrupt.test @@ -23,7 +23,7 @@ RUN: not llvm-readobj %p/Inputs/corrupt-version.elf-x86_64 -dt \ RUN: 2>&1 | FileCheck --check-prefix=VER %s -VER: Error reading file: Invalid version entry. +VER: error: Invalid version entry // The file is missing the dynamic string table but has references to it. @@ -62,11 +62,11 @@ RUN: %p/Inputs/corrupt-invalid-dynamic-table-offset.elf.x86-64 2>&1 | \ RUN: FileCheck --check-prefix=DYN-TABLE-OFFSET %s -DYN-TABLE-OFFSET: Invalid data was encountered while parsing the file. +DYN-TABLE-OFFSET: error: Invalid data was encountered while parsing the file RUN: not llvm-readobj -dyn-relocations \ RUN: %p/Inputs/corrupt-invalid-dynamic-table-too-large.elf.x86-64 2>&1 | \ RUN: FileCheck --check-prefix=DYN-TABLE-TOO-LARGE %s -DYN-TABLE-TOO-LARGE: Invalid data was encountered while parsing the file. +DYN-TABLE-TOO-LARGE: error: Invalid data was encountered while parsing the file