[yaml2obj] - An attempt to fix a ppc64be build bot after r364898
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 2 Jul 2019 11:02:09 +0000 (11:02 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 2 Jul 2019 11:02:09 +0000 (11:02 +0000)
I guess the problem is because of endianess of
the bytes tested by "od" tool. I changed the Content
sequence as it does not actually matter.

llvm-svn: 364907

llvm/test/tools/yaml2obj/elf-override-shoffset.yaml

index 66636b4..3bde177 100644 (file)
@@ -77,9 +77,9 @@ Sections:
 # RUN: od -t x8 -v %t3 >> %t.txt
 # RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
 
-# CASE2: [[OFFSET:.*]] 8877665544332211
+# CASE2: [[OFFSET:.*]] fefefefefefefefe
 # CASE2: [[FILESIZE:.*]]{{$}}
-# CASE2: [[OFFSET]] 8877665544332211
+# CASE2: [[OFFSET]] fefefefefefefefe
 # CASE2: [[FILESIZE]]{{$}}
 
 --- !ELF
@@ -91,7 +91,7 @@ FileHeader:
 Sections:
   - Name: .foo
     Type: SHT_PROGBITS
-    Content: "1122334455667788"
+    Content: "fefefefefefefefe"
 
 --- !ELF
 FileHeader:
@@ -103,4 +103,4 @@ Sections:
   - Name: .foo
     Type: SHT_PROGBITS
     ShOffset: 0xFFFF0000
-    Content: "1122334455667788"
+    Content: "fefefefefefefefe"