summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/strlcpy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark "failures" volatile to avoid a problem with sigsetjmp/siglongjmp.millert2021-09-271-2/+2
| | | | | | This makes the test pass on sparc64 where the compiler may otherwise store the variable in the strlcpy/strlcat function's delay slot. OK kettenis@
* remove manual fiddling with MALLOC_OPTIONS from libc regress testsjasper2021-09-011-4/+1
| | | | | | | these options should be set globally (sysctl) when running regress as opposed to having individual tests set it, barring a few specific exceptions. ok bluhm@
* I am retiring my old email address; replace it with my OpenBSD one.millert2019-01-251-2/+2
|
* Fill the buffer with 'z' instead of 'a' since 'a' is part of themillert2014-12-031-19/+74
| | | | | | | 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-022-0/+120