Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | test mbrtowc(3) in conjunction with mbsinit(3) | schwarze | 2016-09-03 | 2 | -0/+93 | |
| | ||||||
* | Pull in <stdio.h> for NULL | guenther | 2016-08-27 | 1 | -1/+2 | |
| | | | | ok deraadt@ | |||||
* | Fix usage() output and getopt sorting | guenther | 2016-07-13 | 1 | -6/+6 | |
| | ||||||
* | Nuke sigret.c | beck | 2016-05-29 | 2 | -198/+0 | |
| | | | | ok deraadt@ kettenis@ | |||||
* | We don't have sigreturn anymore | beck | 2016-05-29 | 1 | -2/+2 | |
| | ||||||
* | tests for the two segfaults in backref() that were just fixed | schwarze | 2016-05-26 | 1 | -1/+4 | |
| | ||||||
* | Fix an oversight that caused the test program to segfault: | schwarze | 2016-05-26 | 1 | -2/+2 | |
| | | | | Don't try to calculate strlen(NULL). | |||||
* | systematically test all combinations of REG_STARTEND, REG_NEWLINE, | schwarze | 2016-05-26 | 1 | -9/+85 | |
| | | | | and REG_NOTBOL with line and word anchors | |||||
* | support for testing REG_STARTEND together with REG_NOTBOL | schwarze | 2016-05-26 | 1 | -1/+4 | |
| | ||||||
* | Add a test for negated POSIX characer classes. | millert | 2016-02-26 | 1 | -0/+1 | |
| | ||||||
* | Make sure we use a sigjmp_buf in the sigsetjmp() part of the test. | miod | 2015-11-08 | 4 | -4/+7 | |
| | ||||||
* | Pull in <sys/types.h> to get ssize_t or <stdint.h> to get uint32_t, instead of | miod | 2015-10-30 | 1 | -0/+1 | |
| | | | | | relying upon previously included headers to do this, to enhance portability; from Pascal Cuoq, libressl github pull request #52 | |||||
* | Hide __atexit and __atexit_register_cleanup() | guenther | 2015-10-25 | 1 | -2/+3 | |
| | | | | | | | | Wrap __cxa_{atexit,finalize}() so the call from exit() goes direct Switch regress/lib/libc/atexit/ to be built with -static so that it can still access __atexit* ok millert@ jca@ | |||||
* | Use dprintf() instead of fprintf() in the signal handler | guenther | 2015-10-25 | 1 | -3/+4 | |
| | ||||||
* | Cast ctype functions' arguments to unsigned char. | mmcc | 2015-10-23 | 1 | -5/+5 | |
| | ||||||
* | Add ifnameindex to te libc regress tests | claudio | 2015-10-23 | 1 | -3/+3 | |
| | ||||||
* | Add a regress test for if_indextoname() and if_nametoindex() | claudio | 2015-10-22 | 2 | -0/+42 | |
| | ||||||
* | Add a regress for libc handling of SIGTHR | guenther | 2015-10-22 | 2 | -0/+71 | |
| | ||||||
* | Need <string.h> for memset() | guenther | 2015-10-18 | 1 | -1/+2 | |
| | ||||||
* | Test the exported strsignal() API, not the (now hidden) internal API | guenther | 2015-09-14 | 1 | -8/+2 | |
| | | | | noted by daniel@ | |||||
* | ISO8859-1 support has been removed | guenther | 2015-08-23 | 1 | -8/+1 | |
| | | | | ok semarie@ | |||||
* | Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@ | millert | 2015-07-20 | 1 | -1/+3 | |
| | ||||||
* | add setlocale test | semarie | 2015-07-07 | 1 | -1/+3 | |
| | ||||||
* | add regress test for setlocale(3) and some related | semarie | 2015-07-07 | 2 | -0/+140 | |
| | | | | | | functions (MB_CUR_MAX, isalpha() for ctype. some tips from stsp@ | |||||
* | Need to operate of CXXFLAGS now. | miod | 2015-05-29 | 1 | -3/+3 | |
| | ||||||
* | fix for regression test for strtol(). it failed (the wrong kind of | phessler | 2015-03-15 | 1 | -2/+2 | |
| | | | | | | | | fail), on 64-bit systems. tested on 64-bit (amd64) and 32-bit (sparc). OK claudio@ deraadt@ | |||||
* | SIZE_MAX is standard, we should be using it in preference to the | millert | 2015-02-06 | 1 | -5/+3 | |
| | | | | obsolete SIZE_T_MAX. OK miod@ beck@ | |||||
* | Missing $OpenBSD$'s. | krw | 2015-01-20 | 5 | -0/+5 | |
| | | | | ok deraadt@ | |||||
* | fix previous. | daniel | 2014-12-10 | 1 | -2/+4 | |
| | ||||||
* | t_exhaust is too exhausting | deraadt | 2014-12-09 | 1 | -3/+3 | |
| | ||||||
* | Fill the buffer with 'z' instead of 'a' since 'a' is part of the | millert | 2014-12-03 | 2 | -38/+150 | |
| | | | | | | | string we are testing. Add tests to verify that we get SIGSEGV when passed a NULL src or dst. It is better to crash than for an implementation to check for NULL and try to recover. | |||||
* | Add simple strlcpy regress | millert | 2014-12-02 | 3 | -3/+123 | |
| | ||||||
* | Add simple strlcat regress | millert | 2014-12-02 | 3 | -2/+124 | |
| | ||||||
* | Add strnlen to SUBDIRS so we actually run its tests. | millert | 2014-12-02 | 1 | -2/+2 | |
| | ||||||
* | Fix mmap() calls that check for a result other than MAP_FAILED. | doug | 2014-09-27 | 1 | -1/+1 | |
| | | | | ok tedu@ | |||||
* | Add support for word anchors \< and \> to regex regression tests. | doug | 2014-09-21 | 1 | -1/+13 | |
| | | | | These are copied from the existing [[:<:]] and [[:>:]] tests. | |||||
* | Fix on 32bit platforms where 0xdeadbeef > LONG_MAX. | schwarze | 2014-09-19 | 1 | -4/+6 | |
| | | | | | | | 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@ | |||||
* | AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET | guenther | 2014-08-10 | 1 | -6/+5 | |
| | ||||||
* | remove non-portable __progname extern from arc4random unit test. | bcook | 2014-07-28 | 1 | -2/+1 | |
| | | | | ok @deraadt | |||||
* | Switch from <sys/endian.h> or <machine/endian.h> to the new, | guenther | 2014-07-21 | 1 | -2/+2 | |
| | | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@ | |||||
* | Fix ordering breakage, moving the fclose() test last again. | guenther | 2014-07-20 | 1 | -6/+22 | |
| | | | | | | Also correct some format strings. From Doug Hogan (doug (at) acyclic.org) | |||||
* | Make sure the correct errno is reported by warn* or err* and not | guenther | 2014-07-20 | 6 | -5/+11 | |
| | | | | | | the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||||
* | Delete unused variables found by -Wall | guenther | 2014-07-20 | 5 | -5/+2 | |
| | ||||||
* | Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org) | guenther | 2014-07-20 | 1 | -0/+1 | |
| | ||||||
* | Fix dumb copy/paste mistake. | matthew | 2014-07-11 | 1 | -3/+3 | |
| | | | | Noticed testing with clang. | |||||
* | Fix explicit_bzero regress for Solaris and OS X compatibility | matthew | 2014-07-11 | 1 | -27/+68 | |
| | | | | | | | | | | | | | 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 | |||||
* | Add some extra sanity checks to make sure the test functions actually | matthew | 2014-07-09 | 1 | -1/+13 | |
| | | | | run on altstack. | |||||
* | Minor cleanups | matthew | 2014-07-09 | 1 | -5/+12 | |
| | | | | | | | | | | | | | 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. | |||||
* | Better workaround for OS X sigaltstack() bug | matthew | 2014-07-09 | 1 | -15/+20 | |
| | | | | | | | 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. | |||||
* | check for EINTR when calling waitpid. | bcook | 2014-07-09 | 1 | -2/+13 | |
| | | | | ok jsing@ |