Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150614042133.GK17573@brightrain.aerifal.cx>
Date: Sun, 14 Jun 2015 00:21:33 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Tests needed for byte-based C locale

On Sat, Jun 13, 2015 at 10:53:42PM -0400, Rich Felker wrote:
> Here are some basic tests I'd like to have for the byte-based C
> locale, preferably most of them before committing the code and all
> before a release containing it. Any help writing them (for the
> libc-test framework) would be much appreciated. Short of that, even
> just some quick sanity checks using existing programs (e.g. busybox
> utils with regex/fnmatch usage) would be helpful.
> 
> Multibyte functions (test r/non-r, string funcs, and btowc/wctob too):
> 
> - Successful round-trip for arbitrary bytes.
> - Wchar values outside 0-7f & df80-dfff ranges give EILSEQ.

These (mb/wc funcs) are largely covered by the attached file, in
libc-test form. Ideas for additional checks are welcome.

Rich

View attachment "clocale_mbfuncs.c" of type "text/plain" (1926 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.