summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* check if we were previously on a signal stack before restoring.bcook2014-07-091-2/+3
| | | | | | | | OS X fails to restore the old signal stack because the signal stack is not enabled by default. This causes sigaltstack(2) to fail with ENOMEM as ss_size is 0, < MINSIGSTCKSZ. ok jsing@
* Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets.miod2014-07-032-4/+4
|
* matthew reminds me to update regress to reflect current spectedu2014-06-211-10/+3
|
* Always call atexit handlers as if they were registered with __cxa_atexit.kettenis2014-06-181-5/+5
| | | | | | | | | | | The extra argument doesn't hurt genuine atexit handlers and this fixes a bug where we didn't provide the argument (effectively passing garbage) for functions registered with __cxa_atexit in the main executable. Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes <enh@google.com>. ok matthew@
* Add regress tests to make sure arc4random(3) is reinitializedmatthew2014-06-183-2/+181
| | | | correctly in fork children.
* Add timingsafe_memcmp().matthew2014-06-131-5/+1
| | | | ok deraadt, jmc, tedu
* Add regress tests for timingsafe_bcmp and timingsafe_memcmp.matthew2014-06-133-2/+86
| | | | | timingsafe_memcmp tests are disabled for now, pending its addition to libc.
* Add regress test for explicit_bzero.matthew2014-06-123-2/+145
|
* Add basic regression test for modf() issue.tobiasu2014-06-073-2/+40
| | | | encouraged by deraadt and miod
* Use errc/warnc to simplify code.guenther2014-05-201-7/+7
| | | | | | Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
* gets() is gonelteo2014-04-221-2/+1
|
* - Verify that the FPU exception flags weren't clobbered as required by C99.martynas2013-12-296-10/+48
| | | | - Additionally, test _setjmp and sigsetjmp as implementations are different.
* Add a regression test to verify that the FPU control word state ismartynas2013-12-293-1/+44
| | | | | preserved by setjmp. Currently under REGRESS_FULL as this fails on certain archs.
* Fix a commentguenther2013-12-211-3/+2
|
* Add a second test, shortseek(), to make sure that seekdir() also worksschwarze2013-11-036-56/+189
| | | | | | | | | correctly when moving the directory pointer by small distances. This is currently failing, i will send an updated libc/gen patch to fix this right afterwards. Move the functions createfiles() and delfiles() to utils.{h,c} for reuse. Minor cleanup in telldir.c.
* Include more details in failure messagesguenther2013-08-201-7/+7
|
* Remove support for COMPILER_VERSION == gcc2.miod2013-08-061-6/+1
| | | | | | | | Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
* Some tests are currently failing. Only run those if the REGRESS_FULLkettenis2013-08-012-3/+9
| | | | variable is set.
* strptime(3) correctly fills in tm_yday; adjust expected outputkettenis2013-07-301-3/+3
| | | | ok guenther@
* trailing whitespace makes 'make depend' sad. ok mpi@dtucker2013-06-021-2/+2
|
* Hook up fmemopen and open_memstream tests.mpi2013-05-021-3/+4
|
* Set the stream orientation in open_{,w}memstream().guenther2013-04-031-1/+15
| | | | | | Check it in the regress test ok mpi@
* tweak makefile now that asr is built by default.eric2013-04-011-10/+10
|
* add hostnames which triggered some bugs.eric2013-04-011-2/+2
|
* add a test case for the icmpv6 issue spotted by naddyeric2013-03-284-10/+26
|
* More tests for negative seeks, prodded by matthew@mpi2013-03-282-2/+63
|
* More test cases, especially when opening the stream in append an writempi2013-03-271-8/+113
| | | | modes.
* Add some more tests; prodded by mpi@guenther2013-03-251-12/+58
|
* Add check that mkstemp() fails with EINVAL if the string has fewer thanguenther2013-03-121-4/+13
| | | | 6 Xs
* Simple tests for fmemopen(3) and open_memstream(3)mpi2013-01-014-0/+175
|
* add test case for gethostbyname() called with numeric hostnameeric2012-12-171-1/+2
|
* - use diff -u like most anywhere to make the output readable.jasper2012-12-161-2/+2
| | | | ok phessler@
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-3/+1
| | | | ok guenther millert kettenis
* Add a regress test for strtol, which currently fails.jsing2012-11-183-2/+86
| | | | ok otto@
* run regress with the local env tooeric2012-09-051-2/+2
|
* use LDSTATIC for building static executableseric2012-09-051-2/+2
|
* allow to choose an alternate regress scripteric2012-08-071-2/+3
|
* add a flag to choose between gethostbyname and gethostbyaddreric2012-07-292-12/+13
|
* import regression suite for asreric2012-07-1323-0/+2464
|
* catch off-by-one errors in stpncpy(); ok guenther@naddy2012-07-113-6/+33
|
* return non-zero on errorotto2011-11-061-4/+6
|
* and clean extra targetotto2011-11-051-1/+2
|
* add exhaust test from netbsdotto2011-11-052-2/+188
|
* uncomment wscanf testsstsp2011-10-161-4/+3
|
* Expand fnmatch() regress with patterns obtained from the tests for APR'sstsp2011-09-173-4/+277
| | | | | | new fnmatch implementation. With kind permission from Bill Rowe. Tweak the test code to allow comment lines in the test data file. ok millert@
* timed's time is up. use ntpd(8). Even our own fossil developersderaadt2011-07-071-2/+2
| | | | | switched a while back. ok miod, kettenis
* Include tests of 80-bit long double precision (on platforms thatmartynas2011-07-031-1/+6
| | | | support it) now that scanf is implemented properly.
* Add cephes.martynas2011-07-021-2/+2
|
* Import Steve Moshier's printf/scanf tester.martynas2011-07-0213-0/+6335
|
* Pull in <string.h> for memset()guenther2011-05-011-1/+2
|