Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107063546
D8137.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
D8137.diff
View Options
Index: head/contrib/netbsd-tests/lib/libc/string/t_memmem.c
===================================================================
--- head/contrib/netbsd-tests/lib/libc/string/t_memmem.c
+++ head/contrib/netbsd-tests/lib/libc/string/t_memmem.c
@@ -51,6 +51,8 @@
int lp6 = 1;
char p7[] = "654";
int lp7 = 3;
+char p8[] = "89abc";
+int lp8 = 5;
char b0[] = "";
int lb0 = 0;
@@ -94,6 +96,7 @@
expect(memmem(b2, lb2, p4, lp4) == NULL);
expect(memmem(b2, lb2, p7, lp7) == NULL);
+ expect(memmem(b2, lb2, p8, lp8) == NULL);
}
ATF_TP_ADD_TCS(tp)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 1:03 PM (14 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15742889
Default Alt Text
D8137.diff (554 B)
Attached To
Mode
D8137: Add test for a musl libc memmem bug
Attached
Detach File
Event Timeline
Log In to Comment