Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add "killer" input from "algorithmic complexity attacks and libc | millert | 2017-05-17 | 1 | -0/+12 | |
| | | | | | | | qsort()". This causes quadratic behavior with the 4.4BSD qsort's "switch to insertion sort" optimization when the input appears to be mostly sorted. That optimization was removed in qsort.c r1.12 but it is worth having in the regress test too. | |||||
* | There's no need to track the number of errors (and the counter might | millert | 2017-05-17 | 1 | -21/+30 | |
| | | | | wrap), make it a flag instead. Pointed out by schwarze@ | |||||
* | Add qsort(3) regress based on Bentley & McIlroy's "Engineering a Sort Function" | millert | 2017-05-17 | 3 | -2/+278 | |
| | ||||||
* | Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle. | kettenis | 2017-04-16 | 1 | -2/+2 | |
| | | | | | | Fixes this test on 64-bit architectures. ok visa@ | |||||
* | Define DEF_WEAK like we do for ld.so to fix building this with clang. | kettenis | 2017-04-16 | 1 | -1/+2 | |
| | | | | ok millert@, deraadt@ | |||||
* | copy /etc/services in test directory | eric | 2017-03-14 | 1 | -1/+2 | |
| | ||||||
* | refresh the test infrastructure a bit. | eric | 2017-03-10 | 3 | -90/+93 | |
| | ||||||
* | remove bogus variable expansion | eric | 2017-03-09 | 2 | -4/+4 | |
| | ||||||
* | missing include | eric | 2017-03-09 | 1 | -1/+2 | |
| | ||||||
* | Add missing includes to avoid implicit function declarations. | jsg | 2017-02-25 | 4 | -3/+7 | |
| | ||||||
* | fix make clean and warnings | otto | 2017-01-24 | 2 | -1/+3 | |
| | ||||||
* | make sure realloc preserves data | otto | 2017-01-24 | 1 | -17/+45 | |
| | ||||||
* | use ${.OBJDIR} | otto | 2017-01-24 | 1 | -8/+8 | |
| | ||||||
* | hook malloc_general to the tests | otto | 2017-01-23 | 1 | -2/+2 | |
| | ||||||
* | test malloc/realloc/free with some flag combo's | otto | 2017-01-23 | 2 | -0/+122 | |
| | ||||||
* | Enable mbrtowc(3) and wcrtomb(3) tests now that mbsinit(3) works. | schwarze | 2016-09-05 | 1 | -2/+2 | |
| | | | | Related to locale/multibyte_citrus.c rev. 1.7. | |||||
* | test wcrtomb(3) | schwarze | 2016-09-04 | 2 | -0/+93 | |
| | ||||||
* | 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 | |
| |