[yaml2elf] - Use check-next in test.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 16 Aug 2018 12:40:27 +0000 (12:40 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 16 Aug 2018 12:40:27 +0000 (12:40 +0000)
Its a follow up for rL339870.

llvm-svn: 339872

llvm/test/tools/yaml2obj/reloc-sec-info.yaml

index 8810bd7..ebde2fa 100644 (file)
@@ -1,15 +1,15 @@
 # RUN: yaml2obj %s -o %t
 # RUN: llvm-readobj -sections %t | FileCheck %s
 
-# CHECK: Name: .rela.text
-# CHECK: Type: SHT_RELA
-# CHECK: Flags [
-# CHECK: ]
-# CHECK: Address:
-# CHECK: Offset:
-# CHECK: Size:
-# CHECK: Link:
-# CHECK: Info: 12345
+# CHECK:      Name: .rela.text
+# CHECK-NEXT: Type: SHT_RELA
+# CHECK-NEXT: Flags [
+# CHECK-NEXT: ]
+# CHECK-NEXT: Address:
+# CHECK-NEXT: Offset:
+# CHECK-NEXT: Size:
+# CHECK-NEXT: Link:
+# CHECK-NEXT: Info: 12345
 
 --- !ELF
 FileHeader: