[PATCH] D65680: [yaml2obj][tests] Fix overly restrictive od output check

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 06:56:49 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL367862: [yaml2obj][tests] Fix overly restrictive od output check (authored by hubert.reinterpretcast, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65680/new/

https://reviews.llvm.org/D65680

Files:
  llvm/trunk/test/tools/yaml2obj/elf-header-sh-fields.yaml


Index: llvm/trunk/test/tools/yaml2obj/elf-header-sh-fields.yaml
===================================================================
--- llvm/trunk/test/tools/yaml2obj/elf-header-sh-fields.yaml
+++ llvm/trunk/test/tools/yaml2obj/elf-header-sh-fields.yaml
@@ -44,10 +44,10 @@
 ## is unable to dump such headers.
 
 # RUN: yaml2obj --docnum=3 %s -o %t3
-# RUN: od -t x1 -v -j 0x3a -N 1 %t3 | FileCheck %s --check-prefix=NEWSIZE
-# RUN: od -t x1 -v -j 0x3a -N 1 %t2 | FileCheck %s --check-prefix=OLDSIZE
-# NEWSIZE: 0000072 01
-# OLDSIZE: 0000072 40
+# RUN: od -A n -t x1 -v -j 0x3a -N 1 %t3 | FileCheck %s --check-prefix=NEWSIZE
+# RUN: od -A n -t x1 -v -j 0x3a -N 1 %t2 | FileCheck %s --check-prefix=OLDSIZE
+# NEWSIZE: 01
+# OLDSIZE: 40
 
 --- !ELF
 FileHeader:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65680.213350.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/c8632305/attachment.bin>


More information about the llvm-commits mailing list