diff options
Diffstat (limited to 'localedata/tests-mbwc/dat_mbstowcs.c')
-rw-r--r-- | localedata/tests-mbwc/dat_mbstowcs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/dat_mbstowcs.c b/localedata/tests-mbwc/dat_mbstowcs.c index 67a621682b..4b88fbb8e6 100644 --- a/localedata/tests-mbwc/dat_mbstowcs.c +++ b/localedata/tests-mbwc/dat_mbstowcs.c @@ -107,9 +107,19 @@ TST_MBSTOWCS tst_mbstowcs_loc [] = { { /*----------------- #02 -----------------*/ { { +#ifdef SHOJI_IS_RIGHT + /* XXX I really don't understand the first and third line. + the result of the first line is the same as the first + in the last test (i.e., returns 6). Also, the third + test will simply convert everything. */ { 1, 1, "\244\242\244\244\244\246ABC", 7 }, { 1, 1, "", 1 }, { 0, 1, "\244\242\244\244\244\246ABC", 7 }, +#else + { 1, 1, "\244\242\244\244\244\246ABC", 4 }, + { 1, 1, "", 1 }, + { 0, 1, "\244\242\244\244\244\246ABC", 0 }, +#endif } }, { |