]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do initial port of contrib/netbsd-tests/lib/libc/locale
authorngie <ngie@FreeBSD.org>
Mon, 13 Oct 2014 01:14:01 +0000 (01:14 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 13 Oct 2014 01:14:01 +0000 (01:14 +0000)
commitf890b5bffa3a65125f7b30bd9a79a81fab72c5f8
treee58b66119c74945b5f46ea5822505d7783d06939
parente7491a16adbd1e122203b38bce7423fe40beb51c
Do initial port of contrib/netbsd-tests/lib/libc/locale

t_io:
- Expect failures potentially related to implementation-specific knowledge of
the zh_TW.Big5 locale [*]

t_mbrtowc:
- Handle unknown locales more gracefully (do not test if the locale doesn't
exist)
- Expect failure with mbrtowc_internal dealing with Japanese locales
(potentially related to implementation detail knowledge of the ja_* locales) [*].

t_mbstowcs, t_mbtowc, t_wctomb:
- Handle unknown locales more gracefully (do not test if the locale doesn't
exist)

t_wcstod:
- Treat FreeBSD like NetBSD and Linux in the XXX: FIXME section

[*] More investigation is required to determine the root cause of the failures

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
contrib/netbsd-tests/lib/libc/locale/t_io.c
contrib/netbsd-tests/lib/libc/locale/t_mbrtowc.c
contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c
contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c
contrib/netbsd-tests/lib/libc/locale/t_wcstod.c
contrib/netbsd-tests/lib/libc/locale/t_wctomb.c