mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
* posix/bug-regex13.c (tests): Add new test.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2002-11-08 Jakub Jelinek <jakub@redhat.com>
|
2002-11-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* posix/bug-regex13.c (tests): Add new test.
|
||||||
|
|
||||||
* string/test-strchr.c (stupid_strchr): New function.
|
* string/test-strchr.c (stupid_strchr): New function.
|
||||||
(do_random_tests): Make sure the string is zero terminated.
|
(do_random_tests): Make sure the string is zero terminated.
|
||||||
* string/test-strpbrk.c (stupid_strpbrk): New function.
|
* string/test-strpbrk.c (stupid_strpbrk): New function.
|
||||||
|
@@ -33,6 +33,7 @@ static struct
|
|||||||
} tests[] = {
|
} tests[] = {
|
||||||
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "1", -1}, /* It should not match. */
|
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "1", -1}, /* It should not match. */
|
||||||
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "-", 0}, /* It should match. */
|
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "-", 0}, /* It should match. */
|
||||||
|
{RE_SYNTAX_POSIX_BASIC, "s1\n.*\ns3", "s1\ns2\ns3", 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user