From 3ccd8d2767d1cf107742022cd1bc839e372126b5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Nov 2003 22:38:10 +0000 Subject: Update. * posix/bug-regex11.c: And one more commented out test. --- ChangeLog | 2 ++ nptl/tst-cond12.c | 15 +++++++++------ posix/bug-regex11.c | 2 ++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3797d32..8e5834b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-11-21 Jakub Jelinek + * 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 769e6b1..03e4881 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 ae4bb06..7c7ef52 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 }; -- cgit v1.1