* posix/bug-regex13.c (tests): Add new test.

This commit is contained in:
Roland McGrath 2002-11-08 22:39:08 +00:00
parent e8c1660f7b
commit 2b49744308
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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