[AIX] Ignore case when comparing output from od

POSIX does not define the exact output from od tool.
While most implementations use lower case characters in hex output,
the z/OS USS implementation uses upper case characters.
To avoid LIT failures, the FileCheck option to ignore the case must
be used when checking hex bytes.

Reviewed By: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D111427
This commit is contained in:
Kai Nacke 2021-10-14 13:50:05 -04:00
parent 871f773986
commit b050564d3e
1 changed files with 2 additions and 1 deletions

View File

@ -285,7 +285,8 @@ StringTable:
## Case 19: use the value of the `Length` field for the first 4 bytes of the
## table. We dump the string table from the offset of 0x38.
# RUN: yaml2obj --docnum=1 %s -DSYMNAME='nameInStrTbl' -DLENGTHVALUE=20 -o %t19
# RUN: od -A n -t x1 -v -j 0x38 %t19 | FileCheck %s --check-prefix=CASE19
# RUN: od -A n -t x1 -v -j 0x38 %t19 \
# RUN: | FileCheck %s --ignore-case --check-prefix=CASE19
# CASE19: 00 00 00 14 6e 61 6d 65 49 6e 53 74 72 54 62 6c
# CASE19-NEXT: 00