David Schultz
3f0b22498b
Add regression tests for floating point parsing in scanf(3).
2003-06-28 09:03:44 +00:00
Tim J. Robbins
57f0ef1f50
Regression tests for wctype(), iswctype(), wctrans(), towctrans().
2003-06-06 09:42:21 +00:00
David Schultz
60fd7ba74a
Add a dozen new tests with the general theme of getting trailing
...
zeroes right.
2003-04-19 23:53:34 +00:00
David Schultz
3b74a935d6
Add a test case for printf("%5.0f", 0.001).
2003-04-14 11:26:32 +00:00
David Schultz
b0850075ac
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
Tim J. Robbins
fadfe1d425
Test for bug in revision 1.54 of vfprintf.c.
2003-04-06 08:02:20 +00:00
David Schultz
600276e186
Regression tests for printf()'s floating point formats.
...
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
David Schultz
0c66f5adc3
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 Barcroft
b4e41c1278
Add more tests. Specifically, infinity cast from other types should
...
always be classified as infinity.
2003-02-08 20:45:48 +00:00
Mike Barcroft
2c4594131f
Add regression test for soon-to-be-committed fpclassify().
2003-02-05 16:40:18 +00:00
Tim J. Robbins
889c37ceb3
Add a regression test for wordexp() and wordfree().
2003-01-04 05:50:35 +00:00
Tim J. Robbins
a932a3f4b5
Add a test program for perror() that demonstrates two bugs in the
...
current implementation.
2002-12-19 09:46:10 +00:00
Tim J. Robbins
7d5a41c359
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 Barcroft
ac3f0d298f
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
Tim J. Robbins
85fafcf803
Add test cases for btowc() and wctob() in multibyte locales.
2002-11-10 11:03:32 +00:00
Tim J. Robbins
99eabcc8c3
Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.
2002-11-10 10:50:42 +00:00
Tim J. Robbins
10acac81ab
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
Tim J. Robbins
89861638ca
Add missing #includes of <stdio.h>. Correct a few typos in comments.
2002-11-06 09:37:47 +00:00
Tim J. Robbins
9805beec05
Simplify by using inference rules properly.
2002-10-28 09:05:43 +00:00
Tim J. Robbins
ec6b67d043
Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().
2002-10-26 07:56:47 +00:00
Tim J. Robbins
1ba72e3513
Add regression tests for mbrtowc(3) and wcrtomb(3).
2002-10-26 04:40:16 +00:00