Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Link system call tests to build. | bluhm | 2019-11-19 | 1 | -1/+2 | |
| | ||||||
* | Import NetBSD system call regression tests. They were written with | bluhm | 2019-11-19 | 49 | -0/+10692 | |
| | | | | | | | | ATF (Automated Testing Framework), so we use a small wrapper to map it to our bsd.regress.mk framework. Only half of the 80 NetBSD tests have been taken, the others need more work to adapt. Of them 34 syscall tests pass. Moritz Buhl ported the tests to OpenBSD. | |||||
* | Set malloc_options in global scope with an initializer. | bluhm | 2019-06-12 | 2 | -10/+8 | |
| | | | | recommended by otto@ | |||||
* | Disable junking with malloc options. If set, the test hangs on low | bluhm | 2019-06-11 | 1 | -2/+5 | |
| | | | | | memory arm64 machines. found by patrick@; OK otto@ | |||||
* | Move to env var, likelky the possibility to set malloc options from | otto | 2019-06-04 | 2 | -19/+8 | |
| | | | | main is going away. | |||||
* | Throw malloc_conceal and freezero into the mix. | otto | 2019-05-23 | 1 | -3/+8 | |
| | ||||||
* | The call to fseek(fp, -1, SEEK_END) also sets the reported size to | bluhm | 2019-05-13 | 1 | -10/+10 | |
| | | | | | | this value. To match the expectation of the test again, move this line before the the code that sets the final position. OK yasuoka@ | |||||
* | Add test fseek(,-1) works properly. | yasuoka | 2019-05-02 | 1 | -3/+8 | |
| | ||||||
* | I am retiring my old email address; replace it with my OpenBSD one. | millert | 2019-01-25 | 9 | -16/+16 | |
| | ||||||
* | Add regress test for bugs in stdio/fread.c rev 1.13 and 1.17 | millert | 2018-12-16 | 3 | -2/+160 | |
| | ||||||
* | add a -R option to set/unset resolver flags.libressl-v2.9.0 | eric | 2018-12-15 | 9 | -20/+101 | |
| | | | | use strcasecmp for reading args. | |||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-29 | 1 | -2/+6 | |
| | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. This is the same fix as for malloc_ulimit1. | |||||
* | We're manipulating malloc flags ourselves, start with restting them all. | otto | 2018-11-29 | 1 | -1/+5 | |
| | | | | ok bluhm@ | |||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-28 | 1 | -4/+8 | |
| | | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. Also fix whitespace. OK otto@ | |||||
* | Fix three bugs in setlocale(3): | schwarze | 2018-03-29 | 1 | -2/+2 | |
| | | | | | | | | | | | 1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL); must return "A/T/A/A/A/A", not "A". Fix this by always initializing the LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson <public at khwilliamson dot com> on bugs@, thanks! 2. Do not leak newgl when strdup(3) fails in setlocale(3). 3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set _GlobalRuneLocale; i found 2. and 3. while looking at the code. Feedback on a buggy earlier version and OK martijn@. | |||||
* | typo | otto | 2018-01-28 | 1 | -2/+2 | |
| | ||||||
* | add malloc_threaderr | otto | 2018-01-28 | 1 | -1/+2 | |
| | ||||||
* | Test for correct error when on thread allocates, and another does a double free | otto | 2018-01-28 | 2 | -0/+71 | |
| | ||||||
* | Add a regression test for ldexp(3). | visa | 2017-10-15 | 3 | -2/+82 | |
| | ||||||
* | test locale priorities and overrides | schwarze | 2017-08-16 | 1 | -1/+36 | |
| | ||||||
* | test isalpha_l(3), tolower_l(3), wctype_l(3), iswctype_l(3), | schwarze | 2017-08-16 | 1 | -4/+149 | |
| | | | | | wctrans_l(3), towctrans_l(3), wcscasecmp_l(3), wcsncasecmp_l(3), and strerror_l(3) | |||||
* | test nl_langinfo_l(3), iswalpha_l(3), towupper_l(3) | schwarze | 2017-08-16 | 2 | -3/+44 | |
| | ||||||
* | refactor in preparation for testing more functions; no functional change | schwarze | 2017-08-15 | 2 | -114/+117 | |
| | ||||||
* | first draft of tests for newlocale(3), duplocale(3), uselocale(3) | schwarze | 2017-08-10 | 2 | -0/+268 | |
| | ||||||
* | Sort subdir, run getaddrinfo test, remove vax case. | bluhm | 2017-07-27 | 1 | -13/+21 | |
| | ||||||
* | Sort expected getaddrinfo output in inet4 inet6 order, then the | bluhm | 2017-07-27 | 2 | -46/+37 | |
| | | | | test passes. | |||||
* | Fix all clang warnings in libc regress and cleanup some make files. | bluhm | 2017-07-27 | 18 | -75/+67 | |
| | ||||||
* | Mark the invalid memory location as volatile, otherwise clang would | bluhm | 2017-07-27 | 1 | -2/+2 | |
| | | | | | optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL. | |||||
* | Add a test that covers the recently fixed "0x" prefix handling issue. | jsing | 2017-07-15 | 1 | -1/+2 | |
| | ||||||
* | Run malloc0test with all possible malloc options. | bluhm | 2017-07-08 | 1 | -1/+7 | |
| | ||||||
* | Also test arrays of double and long long. | millert | 2017-05-27 | 1 | -142/+421 | |
| | ||||||
* | 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 | |
| |