On Sun, Aug 09, 2015 at 08:08:21PM +0000, jenkins-ad...@freebsd.org wrote:
> FreeBSD_HEAD-tests - Build #1262 - Still Unstable:

> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1262/
> Full change log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1262/changes
> Full build log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1262/console

> Change summaries:

> No changes

> The failed test cases:

> 2 tests failed.
> FAILED:  lib.libc.locale.mbrtowc_test.mbrtowc_object

> Error Message:
> Invalid sequence

> FAILED:  lib.libc.locale.mbstowcs_test.mbstowcs_basic

> Error Message:
> /builds/FreeBSD_HEAD/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c:168: 
> (ssize_t)mbstowcs(wbuf, t->data, SIZE-1): Illegal byte sequence

SVN r286490 exposed the brokenness of these tests. Since RFC 3629
(November 2003), UTF-8 has been restricted to code points up to 0x10FFFF
(inclusive). The higher sequences should be removed from the tests (or,
even better, be expected to cause [EILSEQ]).

I can provide a patch, but thought I'd explain the problem first.

-- 
Jilles Tjoelker
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to