summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2011-04-24Regression test for floating point format directives in wprintf.Stefan Sperling
ok kettenis espie
2011-04-17Add recently added tests to SUBDIR.Martynas Venckus
2011-04-17Add tests for {,l,ll}round{,f}. Same tests as for {,l,ll}rint{,f},Martynas Venckus
except doesn't test rounding modes. Fix pending. Build it with -fno-builtin if you want to test the library functionality--otherwise GCC4 will decide to use its builtins on some platforms.
2011-04-16Test nextafter and nextafterf for zero, nan and some basicMartynas Venckus
functionality. Fix pending.
2011-04-12add missing tools.h fileAlexandre Ratchov
2011-04-10tsk, float version of lrint is affected by a different bug, whereMartynas Venckus
the corner cases would return zero--add some more tests. assembly versions on amd64 and i386 are fine.
2011-04-10add tests for yet-another bug of netbsd implementation of lrint.Martynas Venckus
i've added only couple of values, however the whole exponent range of 52 is broken. luckily amd64 and i386 aren't affected, since they use the assembly versions which do the right thing.
2011-04-10add tests for values zero, -zero; and values close to zero withMartynas Venckus
-inf/+inf rounding modes.
2011-03-21import fenv regression test suite. this one is from freebsd andMartynas Venckus
has more tests than i initially had. currently the last diff for amd64 posted on tech@ passes all tests.
2011-03-13add a regress test for the vis and unvis functions. after finding oneTheo de Raadt
bug, this then found a 2nd bug.. worked on with guenther
2011-01-07Remove an extraneous return statement with the wrong return value.Todd C. Miller
Fix some gcc warnings.
2010-12-26Use sizeof(double) instead of hardcoding 8.Miod Vallat
2010-11-06make sio_onvol(3) return a integer exposing whether a volume knobAlexandre Ratchov
is available for the stream. As we're at it, remove macros and functions that are neither used nor documented.
2010-10-03don't use non-standard CFLAGS; ok miod@, deraadt@Christian Weisgerber
2010-09-24add a GLOB_KEEPSTAT option that retains a copy of the struct statDamien Miller
information that is looked up while matching glob(3)s Keeping this information around can make a big difference when fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC feedback millert@ jmc@ "get it in before the libc crank" deraadt@
2010-09-18Add cvs tag, author name and yearTodd C. Miller
2010-09-18Test default precision when ndigit is negative.Todd C. Miller
2010-09-18Add more test vectors.Todd C. Miller
2010-09-17Add gcvt() regress with test vectors derived from perl regress.Todd C. Miller
Does not currently pass, which is why perl can't use it to format doubles.
2010-08-23Add setenv/putenv regressTodd C. Miller
2010-06-29Correct the target namePhilip Guenthe
2010-06-26New libevent regression tests from upstream.Nicholas Marriott
help and ok phessler
2010-06-02strnlen regression testsTodd C. Miller
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
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.
2010-05-08* add #includes to pull in missing prototypes, as pointed out by gcc4Christian Weisgerber
* fix CFLAGS syntax for make depend ok blambert@
2010-02-14Sync with current state of the tree.Miod Vallat
2010-02-11Test mkstemps() tooPhilip Guenthe
2010-02-11Add a regression suite for mkstemp(), verifying that it neither overrunsPhilip Guenthe
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
2010-02-06add (currently failing) test for double -> long longOtto Moerbeek
(I'm using long long for this test to work on 32-bit archs).
2010-01-03Use CHECKx macro and enable setsockopt tests.Federico G. Schwindt
2009-12-26Add tests to check timeout on sockets under different situations. kurt@ ok.Federico G. Schwindt
2009-12-14Add a test for sleep(3), to verify that it both (a) returns zero when itPhilip Guenthe
completes, and (b) returns the unslept time in seconds when interrupted
2009-11-21Add a (hopefully) comprehensive regression test of how stdio functionsPhilip Guenthe
affect stream orientation
2009-11-19Add regression tests for stdio threading. Originally by blambert withPhilip Guenthe
some further hacking by me
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-09-14doing numeric lookups without specifying an ai_socktype fails no longer.Claudio Jeker
Update the expected answers accordingly. Found by david, OK fgsch
2009-07-06don't test unspecified behavior per ISO C (section F.4). this madeMartynas Venckus
machines following IEC/IEEE for fp arith fail, since they take more care of overflowed value. failure on zaurus reported by david@. ok millert@
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-20Repair comment ID & typo, no binary changeIan Darwin
2009-06-09make the regress target build the program before using it.Peter Hessler
OK millert@, deraadt@
2009-06-09Update to handle the default resolv order behavior.Peter Hessler
Add a note that the regress depends on the "family" keyword in resolv.conf OK millert@, deraadt@
2009-04-09add fpaccuracyMartynas Venckus
2009-04-09fpaccuracy, by prof. Gaston H. Gonnet, uses some most difficultMartynas Venckus
values to test accuracy of math functions (currently, only double precision tests are present) a report summary (fpaccuracy.out) containing max errs in ulp is generated originally under gpl. consented to relicense it under our license ok millert@
2009-02-18Test to show glob bug introduced with POSIX char class support.Todd C. Miller
2009-02-18Add missing CURDIRTodd C. Miller
2008-12-17add a writable ``appbufsz'' field to the sa_par structure, containingAlexandre Ratchov
the program-part of the buffer size, ie the part that is subject to underruns. Useful for apps like cdio(1) that don't have their own rings, or to apps that have a minimum ring size constraint. Setting the ``bufsz'' parameter becomes deprecated. ok jakemsr
2008-12-09add vol/ to SUBDIRSAlexandre Ratchov
2008-12-09also test rintlMartynas Venckus
2008-11-11expose a volume knob in the sndio API: add sio_setvol(3) andAlexandre Ratchov
sio_onvol(3) functions. The audio(4) backend tries to use the inputs.dac, outputs.dac, outputs.output and outputs.master controls (in this order). Add a sample file in regress/lib/libsndio/vol/vol.c
2008-10-27rename libsa to libsndioAlexandre Ratchov
requested by many, "just go for it" deraadt@