summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* Update `goodResult` after recent changes made to the PRNG in libcngie2016-06-091-1/+1
| | | | | | | | | The PRNG was changed in r300953/r300956, and subsequently, the numbers generated have changed. This is expected ABI breakage per ache X-MFC with: r300953, r300956 Tested with: amd64, i386 Sponsored by: EMC / Isilon Storage Division
* Add debug output to aid in determining why `goodResult` != `result`ngie2016-06-091-0/+5
| | | | | | MFC after: 1 week PR: 210619 (for diagnosis) Sponsored by: EMC / Isilon Storage Division
* memmem(3): empty little string matches the beginning of the big stringemaste2015-05-261-1/+1
| | | | | | | | | | | | This function originated in glibc, and this matches their behaviour (and NetBSD, OpenBSD, and musl). An empty big string (arg "l") is handled by the existing l_len < s_len test. Reviewed by: bapt, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2657
* Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) withngie2014-11-172-3/+3
| | | | | | | | | their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that use #if defined(__FreeBSD__) or #if defined(__NetBSD__) which are being left alone Requested by: bde, rpaulo Sponsored by: EMC / Isilon Storage Division
* Add #include <stdio.h> to get sys_nerr definitionngie2014-10-131-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Use 1 as a random seed, as recommended in srandom(3). Adjust the random valuesngie2014-10-131-0/+12
| | | | | | | accordingly Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* memmem with NUL length "needle" (aka small) strings on FreeBSD/OSX returnsngie2014-10-131-0/+5
| | | | | | | NULL instead of the "haystack" value (aka big) Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,ngie2014-10-0218-0/+2594
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud