Re: regression testing fail in 5.0-Current [locale]

From: Tim Robbins <tjr_at_FreeBSD.ORG>
Date: Thu, 10 Apr 2003 18:58:58 +1000
On Thu, Apr 10, 2003 at 03:39:59PM +0800, Dung Patrick wrote:

> Dear All,
> 
> When I run make in /usr/src/tools/regression/lib/libc/locale, I see this:
> 
> bash-2.05b# make
> for p in test-mbrtowc    test-wcrtomb    test-mbsrtowcs  test-wcsrtombs  test-btowc      test-mbrlen     test-mbtowc     test-wctomb       test-mbstowcs   test-wcstombs   test-mblen; do /usr/src/tools/regression/lib/libc/locale/$p; done
> PASS mbrtowc()
> Assertion failed: (wcrtomb(NULL, UCHAR_MAX + 1, NULL) == 1), function main, file test-wcrtomb.c, line 65.
> Abort trap (core dumped)
> *** Error code 134
> 
> Stop in /usr/src/tools/regression/lib/libc/locale.

Looks like I forgot to merge the fix for this bug when I merged the regression
test for it from my local repo. In any case, the test is right and 5.0-R
and -current have a bug in their wcrtomb() implementations when s == NULL and
wc is an illegal wide character. I'll commit the fix for this shortly, thanks
for pointing it out.


Tim
Received on Wed Apr 09 2003 - 23:59:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC