<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/tools/regression/lib/libc/locale/test-wcsrtombs.c, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2015-11-23T08:31:41Z</updated>
<entry>
<title>MFC r290532,r290561,r290843,r290844,r290845:</title>
<updated>2015-11-23T08:31:41Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-11-23T08:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=417f46aa3898fd408a2d3c8ddb67bd8e7b12219b'/>
<id>urn:sha1:417f46aa3898fd408a2d3c8ddb67bd8e7b12219b</id>
<content type='text'>
r290532:

Integrate tools/regression/lib/libc/locale into the FreeBSD test suite
as lib/libc/tests/locale

Sponsored by: EMC / Isilon Storage Division

r290561:

Delete leftover printfs from when these were TAP tests

Sponsored by: EMC / Isilon Storage Division

r290843:

Polish up the tests a bit more after projects/collation was merged to head

Provide more meaningful diagnostic messages if LC_CTYPE can't be set properly
instead of segfaulting, because setlocale returns NULL and strcmp(NULL, b) will
always segfault

Split up the testcases so one failing (in this case en_US.ISO8859-15) won't
cause the rest of the testcases to be skipped

Remove some unused variables

Sponsored by: EMC / Isilon Storage Division

r290844:

Polish up iswctype_test

- Split up the testcases into C locale and ja_JP.eucJP testcases.
- Avoid a segfault in the event that setlocale fails, similar to r290843
- Replace `sizeof(x) / sizeof(*x)` pattern with `nitems(x)`

Sponsored by: EMC / Isilon Storage Division

r290845:

Remove unused variables; sort by alignment where needed

Sponsored by: EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Switch over to a different, more flexible test output protocol that's</title>
<updated>2004-11-11T19:47:55Z</updated>
<author>
<name>Nik Clayton</name>
<email>nik@FreeBSD.org</email>
</author>
<published>2004-11-11T19:47:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=00e13b1d679d242d6db62cab43303efe327afdbc'/>
<id>urn:sha1:00e13b1d679d242d6db62cab43303efe327afdbc</id>
<content type='text'>
understood by Perl's Test::Harness module and prove(1) commands.

Update README to describe the new protocol.  The work's broken down into
two main sets of changes.

First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.

Second, provide the .t files that actually run the tests.  In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.

Add a TODO file.
</content>
</entry>
<entry>
<title>Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().</title>
<updated>2002-10-26T07:56:47Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-26T07:56:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ec6b67d0430d9470fddaa085919ebe0f1d83514b'/>
<id>urn:sha1:ec6b67d0430d9470fddaa085919ebe0f1d83514b</id>
<content type='text'>
</content>
</entry>
</feed>
