summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add "killer" input from "algorithmic complexity attacks and libcmillert2017-05-171-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 mightmillert2017-05-171-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"millert2017-05-173-2/+278
|
* Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle.kettenis2017-04-161-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.kettenis2017-04-161-1/+2
| | | | ok millert@, deraadt@
* copy /etc/services in test directoryeric2017-03-141-1/+2
|
* refresh the test infrastructure a bit.eric2017-03-103-90/+93
|
* remove bogus variable expansioneric2017-03-092-4/+4
|
* missing includeeric2017-03-091-1/+2
|
* Add missing includes to avoid implicit function declarations.jsg2017-02-254-3/+7
|
* fix make clean and warningsotto2017-01-242-1/+3
|
* make sure realloc preserves dataotto2017-01-241-17/+45
|
* use ${.OBJDIR}otto2017-01-241-8/+8
|
* hook malloc_general to the testsotto2017-01-231-2/+2
|
* test malloc/realloc/free with some flag combo'sotto2017-01-232-0/+122
|
* Enable mbrtowc(3) and wcrtomb(3) tests now that mbsinit(3) works.schwarze2016-09-051-2/+2
| | | | Related to locale/multibyte_citrus.c rev. 1.7.
* test wcrtomb(3)schwarze2016-09-042-0/+93
|
* test mbrtowc(3) in conjunction with mbsinit(3)schwarze2016-09-032-0/+93
|
* Pull in <stdio.h> for NULLguenther2016-08-271-1/+2
| | | | ok deraadt@
* Fix usage() output and getopt sortingguenther2016-07-131-6/+6
|
* Nuke sigret.cbeck2016-05-292-198/+0
| | | | ok deraadt@ kettenis@
* We don't have sigreturn anymorebeck2016-05-291-2/+2
|
* tests for the two segfaults in backref() that were just fixedschwarze2016-05-261-1/+4
|
* Fix an oversight that caused the test program to segfault:schwarze2016-05-261-2/+2
| | | | Don't try to calculate strlen(NULL).
* systematically test all combinations of REG_STARTEND, REG_NEWLINE,schwarze2016-05-261-9/+85
| | | | and REG_NOTBOL with line and word anchors
* support for testing REG_STARTEND together with REG_NOTBOLschwarze2016-05-261-1/+4
|
* Add a test for negated POSIX characer classes.millert2016-02-261-0/+1
|
* Make sure we use a sigjmp_buf in the sigsetjmp() part of the test.miod2015-11-084-4/+7
|
* Pull in <sys/types.h> to get ssize_t or <stdint.h> to get uint32_t, instead ofmiod2015-10-301-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()guenther2015-10-251-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 handlerguenther2015-10-251-3/+4
|
* Cast ctype functions' arguments to unsigned char.mmcc2015-10-231-5/+5
|
* Add ifnameindex to te libc regress testsclaudio2015-10-231-3/+3
|
* Add a regress test for if_indextoname() and if_nametoindex()claudio2015-10-222-0/+42
|
* Add a regress for libc handling of SIGTHRguenther2015-10-222-0/+71
|
* Need <string.h> for memset()guenther2015-10-181-1/+2
|
* Test the exported strsignal() API, not the (now hidden) internal APIguenther2015-09-141-8/+2
| | | | noted by daniel@
* ISO8859-1 support has been removedguenther2015-08-231-8/+1
| | | | ok semarie@
* Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@millert2015-07-201-1/+3
|
* add setlocale testsemarie2015-07-071-1/+3
|
* add regress test for setlocale(3) and some relatedsemarie2015-07-072-0/+140
| | | | | | functions (MB_CUR_MAX, isalpha() for ctype. some tips from stsp@
* Need to operate of CXXFLAGS now.miod2015-05-291-3/+3
|
* fix for regression test for strtol(). it failed (the wrong kind ofphessler2015-03-151-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 themillert2015-02-061-5/+3
| | | | obsolete SIZE_T_MAX. OK miod@ beck@
* Missing $OpenBSD$'s.krw2015-01-205-0/+5
| | | | ok deraadt@
* fix previous.daniel2014-12-101-2/+4
|
* t_exhaust is too exhaustingderaadt2014-12-091-3/+3
|
* Fill the buffer with 'z' instead of 'a' since 'a' is part of themillert2014-12-032-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 regressmillert2014-12-023-3/+123
|
* Add simple strlcat regressmillert2014-12-023-2/+124
|