]> granicus.if.org Git - llvm/commit
[yaml2obj][tests] Fix overly restrictive od output check
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Mon, 5 Aug 2019 13:55:41 +0000 (13:55 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Mon, 5 Aug 2019 13:55:41 +0000 (13:55 +0000)
commit79dc0bc8beea39a180b720ef5543a3083bd6d983
tree62a4972035308e2db4fb96805414b08de65f80d1
parente1c95d270d94ce5722a9b953dd902cb5a24f30cf
[yaml2obj][tests] Fix overly restrictive od output check

Summary:
rL364517 introduced further instances of `od` output checking of the
kind previously corrected by rL363829. This patch corrects the issue by
suppressing output of the input offset. The check remains sufficiently
sensitive to test for the intended value of the specific byte since the
relevant byte value is the only output we are expecting from `od`.

Reviewers: grimar, xingxue, daltenty, jasonliu, jhenderson, MaskRay

Reviewed By: grimar, MaskRay

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65680

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367862 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/yaml2obj/elf-header-sh-fields.yaml