opnsense-src/contrib/netbsd-tests/lib/libc/string
Ed Maste 16150352f5 memmem(3): empty little string matches the beginning of the big string
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
2015-05-26 21:16:07 +00:00
..
t_bm.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_memchr.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_memcpy.c Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
t_memmem.c memmem(3): empty little string matches the beginning of the big string 2015-05-26 21:16:07 +00:00
t_memset.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_popcount.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strcat.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strchr.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strcmp.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strcpy.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strcspn.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strerror.c Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
t_stresep.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strlen.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strpbrk.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strrchr.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_strspn.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_swab.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00