[llvm] b050564 - [AIX] Ignore case when comparing output from od
Kai Nacke via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 14 10:52:47 PDT 2021
Author: Kai Nacke
Date: 2021-10-14T13:51:02-04:00
New Revision: b050564d3e93462351d6efa072716b344facf68a
URL: https://github.com/llvm/llvm-project/commit/b050564d3e93462351d6efa072716b344facf68a
DIFF: https://github.com/llvm/llvm-project/commit/b050564d3e93462351d6efa072716b344facf68a.diff
LOG: [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
Added:
Modified:
llvm/test/tools/yaml2obj/XCOFF/string-table.yaml
Removed:
################################################################################
diff --git a/llvm/test/tools/yaml2obj/XCOFF/string-table.yaml b/llvm/test/tools/yaml2obj/XCOFF/string-table.yaml
index 0ad5ece9858f7..05ce3ae3cbbaa 100644
--- a/llvm/test/tools/yaml2obj/XCOFF/string-table.yaml
+++ b/llvm/test/tools/yaml2obj/XCOFF/string-table.yaml
@@ -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
More information about the llvm-commits
mailing list