[llvm] r242657 - Move CHECKs closer to the RUN line.
Rafael Espindola
rafael.espindola at gmail.com
Sun Jul 19 20:31:26 PDT 2015
Author: rafael
Date: Sun Jul 19 22:31:25 2015
New Revision: 242657
URL: http://llvm.org/viewvc/llvm-project?rev=242657&view=rev
Log:
Move CHECKs closer to the RUN line.
Modified:
llvm/trunk/test/Object/corrupt.test
Modified: llvm/trunk/test/Object/corrupt.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/corrupt.test?rev=242657&r1=242656&r2=242657&view=diff
==============================================================================
--- llvm/trunk/test/Object/corrupt.test (original)
+++ llvm/trunk/test/Object/corrupt.test Sun Jul 19 22:31:25 2015
@@ -2,22 +2,25 @@
RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -sections \
RUN: 2>&1 | FileCheck --check-prefix=SECNAME %s
+SECNAME: Error reading file: Invalid data was encountered while parsing the file.
+
+
// Section data offset past end of file.
RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -sections -section-data \
RUN: 2>&1 | FileCheck --check-prefix=SECDATA %s
+SECDATA: Error reading file: Invalid data was encountered while parsing the file.
+
+
// Symbol name offset overflows string table.
RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -symbols \
RUN: 2>&1 | FileCheck --check-prefix=SYMNAME %s
+SYMNAME: Error reading file: Invalid data was encountered while parsing the file.
+
+
// Version index in .gnu.version overflows the version map.
RUN: not llvm-readobj %p/Inputs/corrupt-version.elf-x86_64 -dt \
RUN: 2>&1 | FileCheck --check-prefix=VER %s
-SECNAME: Error reading file: Invalid data was encountered while parsing the file.
-
-SECDATA: Error reading file: Invalid data was encountered while parsing the file.
-
-SYMNAME: Error reading file: Invalid data was encountered while parsing the file.
-
VER: Error reading file: Invalid data was encountered while parsing the file.
More information about the llvm-commits
mailing list