mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
* posix/bug-regex13.c (tests): Add new test.
This commit is contained in:
parent
e8c1660f7b
commit
2b49744308
@ -1,5 +1,7 @@
|
||||
2002-11-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* posix/bug-regex13.c (tests): Add new test.
|
||||
|
||||
* 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.
|
||||
|
@ -33,6 +33,7 @@ static struct
|
||||
} tests[] = {
|
||||
{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_SYNTAX_POSIX_BASIC, "s1\n.*\ns3", "s1\ns2\ns3", 0}
|
||||
};
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user