summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen.jilles2010-04-161-0/+1
| | | | | | | Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after: 1 week
* Add some tests for fnmatch(3).jilles2010-04-162-1/+336
| | | | MFC after: 1 week
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-031-7/+0
| | | | | | their software. Obtained from: NetBSD
* wordexp(3): fix some bugs with signals and long outputsjilles2009-10-231-0/+42
| | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month
* Regression tests for r197752 (handling of empty/NULL buffers).das2009-10-041-1/+20
|
* Return -1 instead of 0 upon reaching EOF. This is somewhat ill-adviseddas2009-04-061-2/+2
| | | | | | | | because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@
* Tests for getdelim().das2009-02-282-1/+169
|
* Add a file containing tests for simple format specifiers.das2009-02-282-1/+157
| | | | | Currently it only has tests for a few sign issues with integer formats, including PR 131880.
* Tests for wcscasecmp(), wcsnlen(), and stpncpy().das2009-02-284-1/+269
|
* Test wprintf() in addition to printf().das2009-01-311-3/+19
|
* Regression tests for bugs in gdtoa.das2008-09-031-11/+17
|
* Regression tests for fmtcheck(3).das2008-08-022-1/+103
| | | | Obtained from: NetBSD
* Add some regression tests for printf() with positional arguments.das2008-06-292-1/+133
| | | | | | | | | The first test comes from OpenBSD, and the others are additions or adaptations. This is based on OpenBSD's src/regress/lib/libc/sprintf/sprintf_test.c, v1.3. I deliberately did not use v1.4 because it's bogus.
* Regression test for a recently fixed strtod bug.das2008-06-211-1/+11
|
* Updates for changes in the way printf() handles hex floating pointdas2008-04-121-5/+5
| | | | numbers.
* Fix an amusing typo that has prevented this from compiling since 2004.das2007-12-161-7/+7
|
* Remove some test instrumentation. (The Symbol.map changes broke it anyway.)das2007-12-091-4/+0
|
* Make sure we set the locale to "C" when testing thousands' separatordas2007-12-031-2/+2
| | | | | support, rather than just "", which refers to the system default based on the environment.
* Tests for rounding, and for the leading 0's bug.das2007-12-031-1/+13
|
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.bushman2007-06-242-73/+162
| | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor)
* Add regression tests for ethers(3) functions, including new _r variants.rwatson2007-05-133-1/+246
| | | | | | | | | | Four tests currently fail: test_ether_line_bad_1() and test_ether_line_bad_2() due to bugs in ether_line(3). test_ether_ntohost() and test_ether_hostton() due to not being fully implemented tests.
* Committing regression tests for all implemented nsswitch databases.bushman2007-04-1520-0/+5390
| | | | | | | Detailed description and instructions are in the README file. This work had been basically done during GSoC 2006. Approved by: brooks (mentor)
* Remove the test that ensures that when the string "nan(...)" is converteddas2007-01-031-0/+8
| | | | | | to floating-point, the result is a quiet NaN. The current implementation may return a signaling NaN, and the vendor has no plans for changing this, for reasons explained in the comment I added.
* Fix cut-and-paste bugs in the regression tests.das2007-01-031-2/+2
|
* Style: NO_MAN doesn't need any value.ru2006-03-151-2/+1
|
* NOMAN --> NO_MANume2006-03-071-1/+1
|
* add simple test script.ume2005-05-051-0/+24
|
* - add $FreeBSD$.ume2005-05-041-1/+2
| | | | - enable -r option for regress target.
* - add $FreeBSD$.ume2005-05-041-10/+128
| | | | | | | - do service lookup. - add options to use gethostbyname(3) or getipnodebyname(3) instead of getaddrinfo(3). - add option to do reverse lookup.
* This commit was generated by cvs2svn to compensate for changes in r145857,ume2005-05-043-0/+319
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * import of parallel name resolution test.ume2005-05-043-0/+319
| | | | Obtained from: NetBSD
* - Split tests into three rough categories.das2005-03-011-6/+98
| | | | | | | | | | | - Use fesetround() instead of fpsetround(), and add tests for various rounding modes. - Test that all NaNs generated are quiet. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away again. :-(
* - Split the printfloat test into 11 individually wrapped and packageddas2005-03-012-8/+100
| | | | | | | | | | | | | | tests. (Buy 10, get one free!) The separate categories were already there; they just weren't labeled. - Use fesetround() instead of fpsetround(), since the former is standard and implemented on all supported architectures. Add tests for each rounding mode. - Add additional tests for subnormals. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away.
* Add to CFLAGS.ru2005-02-121-1/+1
|
* Add to CFLAGS, rather than overriding it. Use LDFLAGS for the -L option,nik2005-02-011-2/+3
| | | | | | and LDLIBS to specify -ltap. Submitted by: ru
* Link against libtap (ports/devel/libtap). Replace the calls to assert()nik2005-02-012-31/+32
| | | | | with calls to libtap::ok1(), and make sure the correct number of tests is planned for, and that the exit code is correct.
* Remove regression tests for the obsolete rune interface.tjr2004-11-215-293/+1
|
* Switch over to a different, more flexible test output protocol that'snik2004-11-1154-38/+364
| | | | | | | | | | | | | | | | | | | | 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.
* Add a regression test for floating-point output in the Greek locale.keramida2004-10-131-0/+7
| | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago)
* Add test programs for mbsnrtowcs() and wcsnrtombs().tjr2004-07-213-0/+386
|
* Add a skeleton makefile that runs the tests out of libc/regex/grot.tjr2004-07-191-0/+11
|
* Oops, test error behaviour of wctrans(), not wctype().tjr2004-07-191-2/+2
|
* Add qsort, mergesort and heapsort regression tests.sobomax2004-06-255-0/+477
|
* Fix stupid patch(1) tricks. Apparently patch thinks all files match thebrooks2004-05-274-251/+0
| | | | | | | 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>
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isbrooks2004-05-265-0/+514
| | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa
* Test accumulation of partial multibyte characters in conversiontjr2004-05-111-0/+11
| | | | state objects.
* Reset internal conversion state after triggering conversion errors;tjr2004-04-073-3/+10
| | | | | the state is undefined according to the standards, and our undefined behaviour has changed.
* Add regression tests for printf's %a/%A formats.das2004-01-191-1/+38
| | | | | | 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).
* Add regression tests for some of the bugs recently discovered in thedas2004-01-191-4/+15
| | | | | | | | 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).
* Work around a recently-introduced gcc bug. The compiler no longerdas2004-01-181-1/+1
| | | | | accepts certain floating point constant representations that are legal in C99.
OpenPOWER on IntegriCloud