Those cases are are Failed on GLibc(2.22),and they are PASS on GLibc(2.21) or less. /tset/ANSI.os/locale/setlocale/T.setlocale 1 2 4 5 15 /tset/ANSI.os/string/strcoll_X/T.strcoll_X 1 /tset/POSIX.os/procenv/sysconf_X/T.sysconf_X 12 14 /tset/LI18NUX2K.L1/base/wcscoll/T.wcscoll 1 /tset/LI18NUX2K.L1/utils/localedef/T.localedef 7 /tset/LI18NUX2K.L1/utils/sort/T.sort 1 3 17 19 33 35 /tset/LI18NUX2K.L1/utils/comm/T.comm 1 2 /tset/LI18NUX2K.L1/utils/ls-fh/T.ls-fh 2 The test code is as following: ---------------------------------- 43 private char *test_locale = "LTP_1.UTF-8"; ...... 50 private wchar_t wcs2[] = L"Ch"; 51 private wchar_t les2[] = L"Cz"; ...... 86 if (setlocale (LC_ALL, test_locale) == NULL) 87 { 88 xx_rpt (FAILURE); 89 in_rpt ("Cannot use test locale."); 90 DBUG_VOID_RETURN; 91 } ...... 104 /* for collating elements `Ch' */ 105 rval = wcscoll (les2, wcs2); 106 if (rval < 0) 107 PATH_TRACE; 108 else 109 { 110 xx_rpt (FAILURE); 111 in_rpt ("When the strings have a collating symbol, " 112 "the return value is not correct."); 113 } ...... ---------------------------------- The expect return value of rval is <0,but the actual return value is >0.
Please test with commit 6c84109.
(In reply to Andreas Schwab from comment #1) > Please test with commit 6c84109. After I update Glibc to commit 6c84109,those case are passed. Thank you very much.
*** This bug has been marked as a duplicate of bug 18589 ***