summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/big-match5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/big-match b/tests/big-match
index 20928cf7..0da97316 100755
--- a/tests/big-match
+++ b/tests/big-match
@@ -11,7 +11,10 @@ skip_diagnostic=
# These two patterns catch different kinds of
# failures due to internal integer overflows.
-for pattern in '^.*' '^.*x\(\)\1'; do
+# However, the second one, '^.*x\(\)\1', provokes
+# so much memory consumption via regexec.c that it renders
+# some systems unusable.
+for pattern in '^.*'; do
diagnostic=$(LC_ALL=C grep -a "$pattern" 2G-plus-2 2>&1 >/dev/null)
status=$?