Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-27 | Fix mmap() calls that check for a result other than MAP_FAILED. | Doug Hogan | |
ok tedu@ | |||
2014-09-21 | Add support for word anchors \< and \> to regex regression tests. | Doug Hogan | |
These are copied from the existing [[:<:]] and [[:>:]] tests. | |||
2014-09-19 | Fix on 32bit platforms where 0xdeadbeef > LONG_MAX. | Ingo Schwarze | |
To avoid making tests machine dependent, only test values inside 32bit LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between. While here, cover 32bit edge cases, negative values, and overflows. ok jsing@ | |||
2014-08-10 | AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET | Philip Guenther | |
2014-07-28 | remove non-portable __progname extern from arc4random unit test. | bcook | |
ok @deraadt | |||
2014-07-21 | Switch from <sys/endian.h> or <machine/endian.h> to the new, | Philip Guenther | |
being-standardized <endian.h> ok deraadt@ millert@ beck@ | |||
2014-07-20 | Fix ordering breakage, moving the fclose() test last again. | Philip Guenther | |
Also correct some format strings. From Doug Hogan (doug (at) acyclic.org) | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||
2014-07-20 | Delete unused variables found by -Wall | Philip Guenther | |
2014-07-20 | Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org) | Philip Guenther | |
2014-07-11 | Fix dumb copy/paste mistake. | Matthew Dempsky | |
Noticed testing with clang. | |||
2014-07-11 | Fix explicit_bzero regress for Solaris and OS X compatibility | Matthew Dempsky | |
Solaris and OS X clobber the signal stack when returning to the main stack, which caused the original testing strategy (inspecting the signal stack once we're back on the main stack) to fail. To be compatible with this behavior, the regress test now inspects the signal stack space while we're still executing on it. This is a bit iffy because we might clobber it ourselves while inspecting it, but we as long as its not completely clobbered we should be okay. thx bcook for the Solaris test account | |||
2014-07-09 | Add some extra sanity checks to make sure the test functions actually | Matthew Dempsky | |
run on altstack. | |||
2014-07-09 | Minor cleanups | Matthew Dempsky | |
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier namespace. KNF nit: return value expressions should be surrounded by parentheses, per style(9). Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and requires under XSI) that terminated child processes not leave zombies if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave SIGCHLD set to SIG_IGN. | |||
2014-07-09 | Better workaround for OS X sigaltstack() bug | Matthew Dempsky | |
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even if SS_DISABLE is specified in ss_flags. Rather than add code to try to cope with this stupidity, just don't bother restoring the original signal stack. | |||
2014-07-09 | check for EINTR when calling waitpid. | bcook | |
ok jsing@ | |||
2014-07-09 | check if we were previously on a signal stack before restoring. | bcook | |
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@ | |||
2014-07-03 | Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets. | Miod Vallat | |
2014-06-21 | matthew reminds me to update regress to reflect current spec | Ted Unangst | |
2014-06-13 | Add timingsafe_memcmp(). | Matthew Dempsky | |
ok deraadt, jmc, tedu | |||
2014-06-18 | Always call atexit handlers as if they were registered with __cxa_atexit. | Mark Kettenis | |
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@ | |||
2014-06-18 | Add regress tests to make sure arc4random(3) is reinitialized | Matthew Dempsky | |
correctly in fork children. | |||
2014-06-13 | Add regress tests for timingsafe_bcmp and timingsafe_memcmp. | Matthew Dempsky | |
timingsafe_memcmp tests are disabled for now, pending its addition to libc. | |||
2014-06-12 | Add regress test for explicit_bzero. | Matthew Dempsky | |
2014-06-07 | Add basic regression test for modf() issue. | Tobias Ulmer | |
encouraged by deraadt and miod | |||
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther | |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | |||
2014-04-22 | gets() is gone | Lawrence Teo | |
2013-12-29 | - Verify that the FPU exception flags weren't clobbered as required by C99. | Martynas Venckus | |
- Additionally, test _setjmp and sigsetjmp as implementations are different. | |||
2013-12-29 | Add a regression test to verify that the FPU control word state is | Martynas Venckus | |
preserved by setjmp. Currently under REGRESS_FULL as this fails on certain archs. | |||
2013-12-21 | Fix a comment | Philip Guenther | |
2013-11-03 | Add a second test, shortseek(), to make sure that seekdir() also works | Ingo Schwarze | |
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. | |||
2013-08-20 | Include more details in failure messages | Philip Guenther | |
2013-08-06 | Remove support for COMPILER_VERSION == gcc2. | Miod Vallat | |
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. | |||
2013-08-01 | Some tests are currently failing. Only run those if the REGRESS_FULL | Mark Kettenis | |
variable is set. | |||
2013-07-30 | strptime(3) correctly fills in tm_yday; adjust expected output | Mark Kettenis | |
ok guenther@ | |||
2013-06-02 | trailing whitespace makes 'make depend' sad. ok mpi@ | Darren Tucker | |
2013-05-02 | Hook up fmemopen and open_memstream tests. | Martin Pieuchot | |
2013-04-03 | Set the stream orientation in open_{,w}memstream(). | Philip Guenther | |
Check it in the regress test ok mpi@ | |||
2013-04-01 | tweak makefile now that asr is built by default. | Eric Faurot | |
2013-04-01 | add hostnames which triggered some bugs. | Eric Faurot | |
2013-03-28 | add a test case for the icmpv6 issue spotted by naddy | Eric Faurot | |
2013-03-28 | More tests for negative seeks, prodded by matthew@ | Martin Pieuchot | |
2012-07-13 | import regression suite for asr | Eric Faurot | |
2013-03-27 | More test cases, especially when opening the stream in append an write | Martin Pieuchot | |
modes. | |||
2013-03-25 | Add some more tests; prodded by mpi@ | Philip Guenther | |
2013-03-12 | Add check that mkstemp() fails with EINVAL if the string has fewer than | Philip Guenther | |
6 Xs | |||
2013-01-01 | Simple tests for fmemopen(3) and open_memstream(3) | Martin Pieuchot | |
2012-12-17 | add test case for gethostbyname() called with numeric hostname | Eric Faurot | |
2012-12-16 | - use diff -u like most anywhere to make the output readable. | Jasper Lievisse Adriaanse | |
ok phessler@ | |||
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis |