Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add timing and test name options. | millert | 2017-05-22 | 1 | -12/+83 | |
| | ||||||
* | Instead of embedding pre-generated tables from McIlroy's "A Killer | millert | 2017-05-22 | 3 | -1538/+315 | |
| | | | | | Adversary for Quicksort", just include the code to generate them. Also allow the number of elements to be specified on the command line. | |||||
* | correct a return value test | jsg | 2017-05-21 | 1 | -1/+1 | |
| | | | | ok millert@ | |||||
* | Add input targeted at the Bentley and McIrlroy quicksort generated | millert | 2017-05-19 | 1 | -6/+1389 | |
| | | | | | by McIlroy's "A Killer Adversary for Quicksort". This results in quadratic behavior and the test aborts before completion. | |||||
* | use mergesort instead of heapsort when comparing results | millert | 2017-05-18 | 1 | -9/+17 | |
| | ||||||
* | Avoid running the "killer" tests multiple times with the same | millert | 2017-05-17 | 1 | -10/+19 | |
| | | | | parameters. | |||||
* | Add "median of three" killer, as seen in "Introspective Sorting and | millert | 2017-05-17 | 1 | -18/+44 | |
| | | | | Selection Algorithms" by David R Musser. | |||||
* | Approximate nlgn instead of using libm. The same approximation may | millert | 2017-05-17 | 2 | -10/+8 | |
| | | | | be used in qsort.c in a later commit. | |||||
* | 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 | |
| |