]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r302920
authorbapt <bapt@FreeBSD.org>
Mon, 1 May 2017 12:41:10 +0000 (12:41 +0000)
committerbapt <bapt@FreeBSD.org>
Mon, 1 May 2017 12:41:10 +0000 (12:41 +0000)
commitbb6c5f5ffdce55e694bc675e29fb9f83d6f5078c
tree872cdfacffdf80a6e86de799cd089436c203ad18
parentb13bdd10aae1b3772574414ad11309354d8bba6f
MFC r302920

Add a regression test to make sure the Russian collation is actually working

when importing collation support from Dragonfly/Illumos amdmi3@ tested the
collation branch and reported an issue with Russian collation. John Marino fixed
the issue in Dragonfly and I merged it back to FreeBSD.

Now that Illumos is working on merging our fixes they (Lauri Tirkkonen) found
issues with the commit that fixes the russian collation in UTF-8 that resulted
in a crash with strxfrm(3) and the ISO-8859-5 locale (fixed in FreeBSD r302916).
This small test was written to ensure we do not bring back the old issue with
russian collation while fixing the other issue.
lib/libc/tests/string/Makefile
lib/libc/tests/string/wcscoll_test.c [new file with mode: 0644]