diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | nptl/tst-cond12.c | 15 | ||||
-rw-r--r-- | posix/bug-regex11.c | 2 |
3 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index 3797d321d1..8e5834b560 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-11-21 Jakub Jelinek <jakub@redhat.com> + * posix/bug-regex11.c: And one more commented out test. + * posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte tests multiple times unnecessarily. diff --git a/nptl/tst-cond12.c b/nptl/tst-cond12.c index 769e6b1c92..03e4881c9b 100644 --- a/nptl/tst-cond12.c +++ b/nptl/tst-cond12.c @@ -31,6 +31,15 @@ static char fname[] = "/tmp/tst-cond12-XXXXXX"; static int fd; +static void prepare (void); +#define PREPARE(argc, argv) prepare () + +static int do_test (void); +#define TEST_FUNCTION do_test () + +#include "../test-skeleton.c" + + static void prepare (void) { @@ -47,12 +56,6 @@ prepare (void) exit (1); } } -#define PREPARE(argc, argv) prepare () - - -static int do_test (void); -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" static int diff --git a/posix/bug-regex11.c b/posix/bug-regex11.c index ae4bb06e06..7c7ef52e73 100644 --- a/posix/bug-regex11.c +++ b/posix/bug-regex11.c @@ -62,6 +62,8 @@ struct { "()(b)\\1c\\2", "bcb", REG_EXTENDED, 3, { { 0, 3 }, { 0, 0 }, { 1, 2 } } }, { "(b())\\2\\1", "bbbb", REG_EXTENDED, 3, { { 0, 2 }, { 0, 1 }, { 1, 1 } } }, { "(bb())\\2\\1", "bbbb", REG_EXTENDED, 3, { { 0, 4 }, { 0, 2 }, { 2, 2 } } }, + { "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\\9\\8\\7\\6\\5\\4\\3\\2\\1$", + "level", REG_NOSUB | REG_EXTENDED, 0, { { -1, -1 } } }, #endif }; |