From 2b49744308c65a95862b4ae197f27cec3ae8beaa Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 8 Nov 2002 22:39:08 +0000 Subject: [PATCH] * posix/bug-regex13.c (tests): Add new test. --- ChangeLog | 2 ++ posix/bug-regex13.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index d9a987a..9b36a1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-11-08 Jakub Jelinek + * 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. diff --git a/posix/bug-regex13.c b/posix/bug-regex13.c index 589293a..5ff5ade 100644 --- a/posix/bug-regex13.c +++ b/posix/bug-regex13.c @@ -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 -- 2.7.4