about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-21 22:38:10 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-21 22:38:10 +0000
commit3ccd8d2767d1cf107742022cd1bc839e372126b5 (patch)
treeefa6e46a2d6e8aca40cbf36d8bfef8fa47d663fd
parent1d9b73ab80395bfa5974a7e9fd4d99791783ea71 (diff)
downloadglibc-3ccd8d2767d1cf107742022cd1bc839e372126b5.tar.gz
glibc-3ccd8d2767d1cf107742022cd1bc839e372126b5.tar.xz
glibc-3ccd8d2767d1cf107742022cd1bc839e372126b5.zip
Update.
	* posix/bug-regex11.c: And one more commented out test.
-rw-r--r--ChangeLog2
-rw-r--r--nptl/tst-cond12.c15
-rw-r--r--posix/bug-regex11.c2
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
 };