about summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_strcoll.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-28 15:50:07 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:41 -0300
commitedae9c07c2b3449103a76ae77cc12732f604c248 (patch)
tree75628838e7e0adc9eb282331cabfe9c0b0a7b1d0 /localedata/tests-mbwc/dat_strcoll.c
parent033cbb8ef89a9aab92e0102d3d0186b810b18b59 (diff)
downloadglibc-edae9c07c2b3449103a76ae77cc12732f604c248.tar.gz
glibc-edae9c07c2b3449103a76ae77cc12732f604c248.tar.xz
glibc-edae9c07c2b3449103a76ae77cc12732f604c248.zip
localedata: Use hexadecimal character escape on tests
Instead of latin1 ones.
Diffstat (limited to 'localedata/tests-mbwc/dat_strcoll.c')
-rw-r--r--localedata/tests-mbwc/dat_strcoll.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/localedata/tests-mbwc/dat_strcoll.c b/localedata/tests-mbwc/dat_strcoll.c
index b729ae9e89..fd14090eed 100644
--- a/localedata/tests-mbwc/dat_strcoll.c
+++ b/localedata/tests-mbwc/dat_strcoll.c
@@ -27,13 +27,16 @@ TST_STRCOLL tst_strcoll_loc [] = {
   {
     { Tstrcoll, TST_LOC_de },
     {
-      { /*input.*/ { "ÄBCDEFG", "ÄBCDEFG"	      },  /* #1 */
+      { /*input.*/ { "\xc4\x42\x43\x44\x45\x46\x47",
+		     "\xc4\x42\x43\x44\x45\x46\x47"   },  /* #1 */
 	/*expect*/ { 0,1,0,			      },
       },
-      { /*input.*/ { "XX Ä XX", "XX B XX"	      },  /* #2 */
+      { /*input.*/ { "\x58\x58\x20\xc4\x20\x58\x58",
+		     "XX B XX"			      },  /* #2 */
 	/*expect*/ { 0,0,-1,			      },
       },
-      { /*input.*/ { "XX B XX", "XX Ä XX"	      },  /* #3 */
+      { /*input.*/ { "XX B XX",
+		     "\x58\x58\x20\xc4\x20\x58\x58"   },  /* #3 */
 	/*expect*/ { 0,0,+1,			      },
       },
       { /*input.*/ { "B",	"a"		      },  /* #4 */
@@ -48,10 +51,10 @@ TST_STRCOLL tst_strcoll_loc [] = {
       { /*input.*/ { "A",	"b"		      },  /* #7 */
 	/*expect*/ { 0,0,-1,			      },
       },
-      { /*input.*/ { "ä",	"B"		      },  /* #8 */
+      { /*input.*/ { "\xe4",	"B"		      },  /* #8 */
 	/*expect*/ { 0,0,-1,			      },
       },
-      { /*input.*/ { "B",	"ä"		      },  /* #9 */
+      { /*input.*/ { "B",	"\xe4"		      },  /* #9 */
 	/*expect*/ { 0,0,+1,			      },
       },
       { .is_last = 1 } /* Last element.  */