summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add gcvt() regress with test vectors derived from perl regress.millert2010-09-172-0/+61
| | | | | Does not currently pass, which is why perl can't use it to format doubles.
* Add setenv/putenv regressmillert2010-08-233-2/+132
|
* Correct the target nameguenther2010-06-291-2/+2
|
* strnlen regression testsmillert2010-06-022-0/+74
|
* Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibledrahn2010-05-101-3/+2
| | | | | | complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
* * add #includes to pull in missing prototypes, as pointed out by gcc4naddy2010-05-088-7/+9
| | | | | | * fix CFLAGS syntax for make depend ok blambert@
* Sync with current state of the tree.miod2010-02-141-2/+2
|
* Test mkstemps() tooguenther2010-02-111-26/+87
|
* Add a regression suite for mkstemp(), verifying that it neither overrunsguenther2010-02-113-2/+116
| | | | | | no underruns the supplied template buffer, that it can generate names that don't contain any X's, and that all open() calls that pass O_CREAT also pass O_EXCL
* Add a test for sleep(3), to verify that it both (a) returns zero when itguenther2009-12-142-0/+97
| | | | completes, and (b) returns the unslept time in seconds when interrupted
* Add a (hopefully) comprehensive regression test of how stdio functionsguenther2009-11-213-2/+264
| | | | affect stream orientation
* Add regression tests for stdio threading. Originally by blambert withguenther2009-11-1915-1/+511
| | | | some further hacking by me
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-272-25/+2
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* doing numeric lookups without specifying an ai_socktype fails no longer.claudio2009-09-141-2/+8
| | | | Update the expected answers accordingly. Found by david, OK fgsch
* fix rcs ids. ok sthen@martynas2009-06-211-1/+1
|
* make the regress target build the program before using it.phessler2009-06-091-2/+2
| | | | OK millert@, deraadt@
* Update to handle the default resolv order behavior.phessler2009-06-092-17/+24
| | | | | | Add a note that the regress depends on the "family" keyword in resolv.conf OK millert@, deraadt@
* Test to show glob bug introduced with POSIX char class support.millert2009-02-181-0/+3
|
* Add missing CURDIRmillert2009-02-181-2/+2
|
* Hook up fnmatch and glob regress.millert2008-10-021-5/+5
|
* Regress driver for fnmatch(3). Needs more tests.millert2008-10-013-0/+58
|
* Regress driver for glob(3). Needs more tests.millert2008-10-014-0/+244
|
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-075-4/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-262-15/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Use arc4random_buf() when requesting more than a single word of outputdjm2008-04-131-2/+2
| | | | | | | Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
* Only test one condition per invocation flavour, instead of testing allmiod2007-10-221-27/+29
| | | | | | of them with exceptions disabled and then only one with exceptions enabled. ok kettenis@
* Give more details on failure.miod2007-10-201-8/+8
|
* Make this work on 64 bit platforms by using strlen() instead of sizeof()...miod2007-10-201-1/+1
| | | | worked by accident.
* fix format strings, sizeof() does not return an intotto2007-09-121-5/+5
|
* use strcspn to properly overwrite '\n' in fgets returned bufferchl2007-09-092-4/+4
| | | | ok moritz@ gilles@
* Adapt atexit() regress to recent changes and add __cxa_atexit() regress.millert2007-09-0311-5/+196
| | | | __cxa_atexit() regress from kurt@
* Add basename(3) and dirname(3) regression tests, from tbert.ray2007-05-175-3/+170
| | | | OK otto@.
* add strtod() underflow testotto2006-09-293-2/+29
|
* Don't forget to return 0 on success, doh.otto2006-05-162-2/+4
|
* Try harder to trigger an exception. On architectures where floating-pointkettenis2006-05-151-1/+7
| | | | | | exceptions are deferred, we might not see the exception before another floating-point instruction is executed. This is especially true on the i387 where we don't see underflow/overflow until the result is stored into memory.
* Hook new ulimit test casesotto2006-04-181-2/+2
|
* near ulimit test case 2otto2006-04-182-0/+46
|
* Near ulimit test case 1otto2006-04-182-0/+48
|
* Use NFILES for starting point instead of hardcoded constotto2006-04-011-2/+2
|
* hook telldirotto2006-03-251-2/+2
|
* telldir/seekdir regress tesst. Fails on -current, since seekdir(x),otto2006-03-252-0/+111
| | | | telldir() does not return x. This will we fixed.
* Hook up getcap test.ray2006-03-101-2/+2
|
* Regression test for truncated file.ray2006-03-103-0/+37
| | | | ok otto and millert
* Basic regress test for the vis(3) family of functions. Extra testsotto2005-08-294-2/+37
| | | | | for various flag values will be added later. ok deraadt@
* untested Makefile commitedderaadt2005-08-121-2/+2
|
* regression test to check that isw* functions yield the same result asespie2005-08-114-2/+166
| | | | is* functions, and that basic mb->wchar conversion yields sensible results.
* Add tests for __strsignal(). Put here since the tests are very similarotto2005-05-132-1/+32
| | | | to the strerror() test.
* Try to catch some more errors and adapt to slightly changed strerror.otto2005-05-082-26/+27
|
* some -Wimplicit-function-declaration cleaning; ok millert@david2004-12-221-1/+3
|
* More test cases involving back-references.otto2004-11-291-2/+12
|