]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a regression test to make sure the Russian collation is actually working
authorBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 15 Jul 2016 23:43:23 +0000 (23:43 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 15 Jul 2016 23:43:23 +0000 (23:43 +0000)
commit73a33477caf0d4675b04e2e4c58aba8f4b59898a
tree4b968b2c4a105b68d0072e4f8d30ba36ae534b57
parentf470cca578ae7df002027623c0ee9142eef77e07
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]