> On Dec 6, 2016, at 09:06, Bryan Drewery <bdrew...@freebsd.org> wrote:
> 
> Author: bdrewery
> Date: Tue Dec  6 17:06:14 2016
> New Revision: 309627
> URL: https://svnweb.freebsd.org/changeset/base/309627
> 
> Log:
>  Remove unneeded hack fixed by r309626.
> 
>  strvis(3) being tainted by our mbtowc(3) calls was causing
>  spurious failures here.
> 
>  MFC after:   2 weeks
>  Sponsored by:        Dell EMC Isilon
> 
> Modified:
>  head/contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c
> 
> Modified: head/contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c
> ==============================================================================
> --- head/contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c      Tue Dec  6 
> 17:05:02 2016        (r309626)
> +++ head/contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c      Tue Dec  6 
> 17:06:14 2016        (r309627)
> @@ -137,16 +137,10 @@ ATF_TC_BODY(mbtowc, tc)
>       h_mbtowc("ja_JP.ISO2022-JP", "\033$B", "\033$B$\"\033(B");
>       h_mbtowc("ja_JP.SJIS", "\202", "\202\240");
>       h_mbtowc("ja_JP.eucJP", "\244", "\244\242");
> -#ifndef __FreeBSD__
>       /* Moved last as it fails */
>       h_mbtowc("zh_CN.GB18030", "\241", "\241\241");
> -#endif
>       h_mbtowc("zh_TW.Big5", "\241", "\241@");
>       h_mbtowc("zh_TW.eucTW", "\241", "\241\241");
> -#ifdef __FreeBSD__
> -     atf_tc_expect_fail("zh_CN.GB18030");
> -     h_mbtowc("zh_CN.GB18030", "\241", "\241\241");
> -#endif
> }

It’s interesting how we always hit this at $work, but upstream has never hit 
this once AFAIK.
-Ngie

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to