Re: FreeBSD_HEAD-tests - Build #1262 - Still Unstable

From: Jilles Tjoelker <jilles_at_stack.nl>
Date: Sun, 9 Aug 2015 22:40:49 +0200
On Sun, Aug 09, 2015 at 08:08:21PM +0000, jenkins-admin_at_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
Received on Sun Aug 09 2015 - 18:40:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC