summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2011-09-13first round of tests to check system calls restarting with pthreads.Federico G. Schwindt
guenther@ ok
2011-07-09Adapt tests for extended-precision.Martynas Venckus
2011-07-08Add 80-bit and 128-bit precision test vectors for the math functions.Martynas Venckus
No problems found by Cephes in 17022 tests.
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
switched a while back. ok miod, kettenis
2011-07-03Include tests of 80-bit long double precision (on platforms thatMartynas Venckus
support it) now that scanf is implemented properly.
2011-07-02Add cephes.Martynas Venckus
2011-07-02Import Steve Moshier's printf/scanf tester.Martynas Venckus
2011-06-02Add the quadruple-precision constants; testvect works better nowMartynas Venckus
on sparc64.
2011-05-30Add cephes, and lgamma.Martynas Venckus
2011-05-30Import regression test vectors from the Cephes math library. ThisMartynas Venckus
covers C99 double, extended and quadruple precision functions. Stephen relicensed this under the right license. Testvect contains special values from C9X section F.9. Monot contains test vectors synthesized around NPTS points, which are near the boundaries where the algorithms (likely) change their methods; helping to detect coding/monotonicity errors. Note that a lot of extended and quadruple precision tests are if0'd for now; since our math library is incomplete. Hopefully this will change soon. (-;
2011-05-28Add some simple test cases for lgamma, and lgammaf.Martynas Venckus
Currently the functions return correct results for the input of negative zero; however signgam is wrong in this case.
2011-05-01Pull in <string.h> for memset()Philip Guenthe
2011-05-01Make the regress setup not assume the umask is 022Philip Guenthe
2011-04-29uncomment fwprintf and wprintf testsStefan Sperling
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