about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/PTESTS2
-rw-r--r--posix/ptestcases.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/posix/PTESTS b/posix/PTESTS
index 341c735347..8235384fec 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¦-1¦a\(b\)*c\1¦acb¦
+1¦2¦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 ecf0390123..39e3494313 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, -1, "a\\(b\\)*c\\1", "acb",  },
+  { 1, 2, "a\\(b\\)*c\\1", "acb",  },
   { 1, 11, "\\(a\\(b\\(c\\(d\\(e\\(f\\(g\\)h\\(i\\(j\\)\\)\\)\\)\\)\\)\\)\\)\\9", "abcdefghijjk",  },
   { 0, 0, "GA136", NULL, },
-  { -1, -1, "a\\(b\\)*c\\1", "acb",  },
+  { 1, 2, "a\\(b\\)*c\\1", "acb",  },
   { 4, 7, "a\\(b\\(c\\(d\\(f\\)*\\)\\)\\)\\4", "xYzabcdePQRST",  },
   { 0, 0, "GA137", NULL, },
   { -2, -2, "\\(a\\(b\\)\\)\\3", "foo",  },