d5474c
The patch (glibc-rh1704868-1.patch) for commit 91927b7c7643
d5474c
(Rewrite iconv option parsing) contains a test that depends on
d5474c
commit 513aaa0d782f (Add Transliterations for Unicode Misc.
d5474c
Mathematical Symbols-A/B), which is not applied in RHEL-8. This
d5474c
patch edits the test so as not to depend on the unapplied patch
d5474c
and its additional transliterations.
d5474c
d5474c
diff --git a/iconv/tst-iconv-opt.c b/iconv/tst-iconv-opt.c
d5474c
index 669d812a6a9b8749..21e6d887501450a7 100644
d5474c
--- a/iconv/tst-iconv-opt.c
d5474c
+++ b/iconv/tst-iconv-opt.c
d5474c
@@ -82,18 +82,18 @@ char u2a_ignore[] = "UTF-8 text with  couple f non-ASCII characters";
d5474c
 
d5474c
 /* 3. Invalid UTF-8 input and some corresponding expected outputs.  \xff is
d5474c
    invalid UTF-8. It's followed by some valid but non-ASCII UTF-8.  */
d5474c
-char iutf8[] = "Invalid UTF-8 \xff\u27E6text\u27E7";
d5474c
+char iutf8[] = "Invalid UTF-8 \xff\u00B7text\u00B7";
d5474c
 char iu2a[] = "Invalid UTF-8 ";
d5474c
 char iu2a_ignore[] = "Invalid UTF-8 text";
d5474c
-char iu2a_both[] = "Invalid UTF-8 [|text|]";
d5474c
+char iu2a_both[] = "Invalid UTF-8 .text.";
d5474c
 
d5474c
 /* 4. Another invalid UTF-8 input and corresponding expected outputs. This time
d5474c
    the valid non-ASCII UTF-8 characters appear before the invalid \xff.  */
d5474c
-char jutf8[] = "Invalid \u27E6UTF-8\u27E7 \xfftext";
d5474c
+char jutf8[] = "Invalid \u00B7UTF-8\u00B7 \xfftext";
d5474c
 char ju2a[] = "Invalid ";
d5474c
-char ju2a_translit[] = "Invalid [|UTF-8|] ";
d5474c
+char ju2a_translit[] = "Invalid .UTF-8. ";
d5474c
 char ju2a_ignore[] = "Invalid UTF-8 text";
d5474c
-char ju2a_both[] = "Invalid [|UTF-8|] text";
d5474c
+char ju2a_both[] = "Invalid .UTF-8. text";
d5474c
 
d5474c
 /* We also test option handling for character set names that have the form
d5474c
    "A/B".  In this test, we test conversions "ISO-10646/UTF-8", and either