[PATCH] D65671: [yaml2obj][tests] Replace 8-byte `od` conversion with 1-byte conversion
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 3 11:52:11 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL367760: [yaml2obj][tests] Replace 8-byte `od` conversion with 1-byte conversion (authored by hubert.reinterpretcast, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65671/new/
https://reviews.llvm.org/D65671
Files:
llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml
llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml
Index: llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml
===================================================================
--- llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml
+++ llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml
@@ -73,13 +73,13 @@
# RUN: yaml2obj --docnum=2 %s -o %t2
# RUN: yaml2obj --docnum=3 %s -o %t3
-# RUN: od -t x8 -v %t2 > %t.txt
-# RUN: od -t x8 -v %t3 >> %t.txt
+# RUN: od -t x1 -v %t2 > %t.txt
+# RUN: od -t x1 -v %t3 >> %t.txt
# RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
-# CASE2: [[OFFSET:.*]] fefefefefefefefe
+# CASE2: [[OFFSET:.*]] fe fe fe fe fe fe fe fe
# CASE2: [[FILESIZE:.*]]{{$}}
-# CASE2: [[OFFSET]] fefefefefefefefe
+# CASE2: [[OFFSET]] fe fe fe fe fe fe fe fe
# CASE2: [[FILESIZE]]{{$}}
--- !ELF
Index: llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml
===================================================================
--- llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml
+++ llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml
@@ -72,13 +72,13 @@
# RUN: yaml2obj --docnum=2 %s -o %t2
# RUN: yaml2obj --docnum=3 %s -o %t3
-# RUN: od -t x8 -v %t2 > %t.txt
-# RUN: od -t x8 -v %t3 >> %t.txt
+# RUN: od -t x1 -v %t2 > %t.txt
+# RUN: od -t x1 -v %t3 >> %t.txt
# RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
-# CASE2: [[OFFSET:.*]] fefefefefefefefe
+# CASE2: [[OFFSET:.*]] fe fe fe fe fe fe fe fe
# CASE2: [[FILESIZE:.*]]{{$}}
-# CASE2: [[OFFSET]] fefefefefefefefe
+# CASE2: [[OFFSET]] fe fe fe fe fe fe fe fe
# CASE2: [[FILESIZE]]{{$}}
--- !ELF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65671.213195.patch
Type: text/x-patch
Size: 1586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190803/8aa5b8a9/attachment.bin>
More information about the llvm-commits
mailing list