das
e71d433311
Regression tests for [l]lrint[f]() and [l]lround[f]().
2005-01-11 23:13:36 +00:00
tjr
4e61a637dc
Remove regression tests for the obsolete rune interface.
2004-11-21 03:21:22 +00:00
nik
3e959a33f9
Switch over to a different, more flexible test output protocol that's
...
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.
2004-11-11 19:47:55 +00:00
keramida
2eb8bfd316
Add a regression test for floating-point output in the Greek locale.
...
See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src
Reviewed by: das (a while ago)
2004-10-13 22:32:12 +00:00
stefanf
d9abb42b26
Add regression tests for ilogb{,f,l}().
2004-10-11 18:40:45 +00:00
tjr
397b943e7a
Add test programs for mbsnrtowcs() and wcsnrtombs().
2004-07-21 13:47:48 +00:00
tjr
d3949c6f08
Add a skeleton makefile that runs the tests out of libc/regex/grot.
2004-07-19 09:00:26 +00:00
tjr
c977042a24
Oops, test error behaviour of wctrans(), not wctype().
2004-07-19 08:53:41 +00:00
das
2408fa162f
While testing fe[gs]etround(), make sure FLT_ROUNDS reflects the
...
proper rounding mode as well.
2004-07-19 08:17:47 +00:00
sobomax
eed5bcdf34
Add qsort, mergesort and heapsort regression tests.
2004-06-25 12:31:12 +00:00
das
da6e1707d4
Add some fenv.h regression tests.
2004-06-11 03:22:34 +00:00
brooks
7db6667914
Fix stupid patch(1) tricks. Apparently patch thinks all files match the
...
empty file so if you accidently apply a patch created with diff -N
twice, you get files with duplicate contents.
Reported by: Antoine Brodin <antoine.brodin at laposte.net>
2004-05-27 17:23:32 +00:00
brooks
5ae1bd4705
Add support for an /etc/eui64 file modeled on /etc/ethers. The API is
...
modeled on ethers(3) except that all functions are thread-safe.
Reviewed by: simokawa
2004-05-26 22:58:06 +00:00
tjr
db217681a3
Test accumulation of partial multibyte characters in conversion
...
state objects.
2004-05-11 13:10:47 +00:00
tjr
04a9ef8e3f
Reset internal conversion state after triggering conversion errors;
...
the state is undefined according to the standards, and our undefined
behaviour has changed.
2004-04-07 11:02:51 +00:00
das
5a0431f630
Add regression tests for printf's %a/%A formats.
...
While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:59:07 +00:00
das
ee1fa904fb
Add regression tests for some of the bugs recently discovered in the
...
vendor's strtod() implementation.
While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:30:56 +00:00
das
b4bb086357
Work around a recently-introduced gcc bug. The compiler no longer
...
accepts certain floating point constant representations that are
legal in C99.
2004-01-18 07:06:21 +00:00
tjr
d61cbe3ed8
Add regression tests for sgetrune() and sputrune().
2003-10-30 11:51:36 +00:00
das
9f4938168b
Add regression tests for floating point parsing in scanf(3).
2003-06-28 09:03:44 +00:00
tjr
8dfc0712c7
Regression tests for wctype(), iswctype(), wctrans(), towctrans().
2003-06-06 09:42:21 +00:00
das
3214ca63ea
Add a dozen new tests with the general theme of getting trailing
...
zeroes right.
2003-04-19 23:53:34 +00:00
das
2fd827a8bc
Add a test case for printf("%5.0f", 0.001).
2003-04-14 11:26:32 +00:00
das
baf74df098
Additional regression tests for grouping, parsing of '.*', and printing
...
of %f formats where the number of significant digits is < expt.
2003-04-07 00:42:49 +00:00
tjr
3b10d8d86d
Test for bug in revision 1.54 of vfprintf.c.
2003-04-06 08:02:20 +00:00
das
38500c73db
Regression tests for printf()'s floating point formats.
...
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
das
4f4d465008
Write negative zero as '-0.0'. Otherwise, it is parsed as an integer
...
before being cast to a floating point type, and the sign is lost.
2003-03-27 05:32:28 +00:00
mike
d5b741d9d9
Add more tests. Specifically, infinity cast from other types should
...
always be classified as infinity.
2003-02-08 20:45:48 +00:00
mike
a56314b4dc
Add regression test for soon-to-be-committed fpclassify().
2003-02-05 16:40:18 +00:00
tjr
3ef27dc5c5
Add a regression test for wordexp() and wordfree().
2003-01-04 05:50:35 +00:00
tjr
a585a3e1d1
Add a test program for perror() that demonstrates two bugs in the
...
current implementation.
2002-12-19 09:46:10 +00:00
tjr
2aa20c1a1e
Test that if the buffer argument (`s') to wcrtomb() is NULL then
...
the value of the supplied wide character is ignored and L'\0' is used
instead. Remove incorrect comments about "internal buffer" since wcrtomb()
does not have one (wctomb() does).
2002-12-19 02:01:39 +00:00
mike
6ff2965718
Add regression test for strerror()/strerror_r().
...
Based on: src/lib/libc/string/strerror.c (rev 1.8)
2002-12-18 16:59:08 +00:00
tjr
b3f140b069
Add test cases for btowc() and wctob() in multibyte locales.
2002-11-10 11:03:32 +00:00
tjr
ca621988d2
Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.
2002-11-10 10:50:42 +00:00
tjr
5349a8bc12
Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
...
wcstombs(). These tests have already found two libc bugs.
2002-11-09 04:33:02 +00:00
tjr
2b2cb081a8
Add missing #includes of <stdio.h>. Correct a few typos in comments.
2002-11-06 09:37:47 +00:00
tjr
2e56144367
Simplify by using inference rules properly.
2002-10-28 09:05:43 +00:00
tjr
9cf397c653
Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().
2002-10-26 07:56:47 +00:00
tjr
399bd27ee2
Add regression tests for mbrtowc(3) and wcrtomb(3).
2002-10-26 04:40:16 +00:00