about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--posix/PTESTS2
-rw-r--r--posix/ptestcases.h4
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fa706acc8..04df88e9fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-19  Ulrich Drepper  <drepper@redhat.com>
+
+	* posix/PTESTS: 2nd GA 135 and 1st GA 136 tests are wrong, too.
+
 2003-11-19  Jakub Jelinek  <jakub@redhat.com>
 
 	* posix/regexec.c (extend_buffers): Don't allocate
diff --git a/posix/PTESTS b/posix/PTESTS
index 8235384fec..341c735347 100644
--- a/posix/PTESTS
+++ b/posix/PTESTS
@@ -226,7 +226,7 @@
 1¦20¦a\(.*b\)c¦axcaxbbbcsxbbbbbbbbc¦
 # GA135
 1¦7¦\(a\(b\(c\(d\(e\)\)\)\)\)\4¦abcdededede¦
-1¦2¦a\(b\)*c\1¦acb¦
+-1¦-1¦a\(b\)*c\1¦acb¦
 1¦11¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)\9¦abcdefghijjk¦
 # GA136
 1¦2¦a\(b\)*c\1¦acb¦
diff --git a/posix/ptestcases.h b/posix/ptestcases.h
index 39e3494313..ecf0390123 100644
--- a/posix/ptestcases.h
+++ b/posix/ptestcases.h
@@ -221,10 +221,10 @@
   { 1, 20, "a\\(.*b\\)c", "axcaxbbbcsxbbbbbbbbc",  },
   { 0, 0, "GA135", NULL, },
   { 1, 7, "\\(a\\(b\\(c\\(d\\(e\\)\\)\\)\\)\\)\\4", "abcdededede",  },
-  { 1, 2, "a\\(b\\)*c\\1", "acb",  },
+  { -1, -1, "a\\(b\\)*c\\1", "acb",  },
   { 1, 11, "\\(a\\(b\\(c\\(d\\(e\\(f\\(g\\)h\\(i\\(j\\)\\)\\)\\)\\)\\)\\)\\)\\9", "abcdefghijjk",  },
   { 0, 0, "GA136", NULL, },
-  { 1, 2, "a\\(b\\)*c\\1", "acb",  },
+  { -1, -1, "a\\(b\\)*c\\1", "acb",  },
   { 4, 7, "a\\(b\\(c\\(d\\(f\\)*\\)\\)\\)\\4", "xYzabcdePQRST",  },
   { 0, 0, "GA137", NULL, },
   { -2, -2, "\\(a\\(b\\)\\)\\3", "foo",  },