* string/test-strchr.c (stupid_strchr): New function.
authorRoland McGrath <roland@gnu.org>
Fri, 8 Nov 2002 22:10:01 +0000 (22:10 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 8 Nov 2002 22:10:01 +0000 (22:10 +0000)
commite8c1660f7ba480c5a17103b557941fc6db7a5146
tree71673df7864e35860bd8c7e8d2f3424fdb1dffc9
parente0bc9a8d13290de5328ae49311493246f406e0bd
* string/test-strchr.c (stupid_strchr): New function.

(do_random_tests): Make sure the string is zero terminated.
* string/test-strpbrk.c (stupid_strpbrk): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcmp.c (stupid_strcmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-strspn.c (stupid_strspn): New function.
(simple_strspn): Rename rej argument to acc.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcspn.c (stupid_strcspn): New function.
* string/test-strncpy.c (stupid_strncpy): New function.
* string/test-stpncpy.c (stupid_stpncpy): New function.
* string/test-strncmp.c (stupid_strncmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-string.h (impl_t): Change test into long.
(IMPL): Add __attribute__((aligned (sizeof (void *)))).
ChangeLog
string/test-stpncpy.c
string/test-strchr.c
string/test-strcmp.c
string/test-strcspn.c
string/test-string.h
string/test-strncmp.c
string/test-strncpy.c
string/test-strpbrk.c
string/test-strspn.c