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