[master] 8d0b30e Disable test r01576, it takes too much time and effort to keep it working across platforms.
Poul-Henning Kamp
phk at FreeBSD.org
Wed Nov 11 11:51:15 CET 2015
commit 8d0b30e77dbf5b1e87bfe147be37e0596323fe64
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Nov 11 10:50:50 2015 +0000
Disable test r01576, it takes too much time and effort to keep
it working across platforms.
diff --git a/bin/varnishtest/tests.disabled/r01576.vtc b/bin/varnishtest/tests.disabled/r01576.vtc
new file mode 100644
index 0000000..b0fdb9f
--- /dev/null
+++ b/bin/varnishtest/tests.disabled/r01576.vtc
@@ -0,0 +1,51 @@
+varnishtest "Test recursive regexp's fail before consuming all the stack"
+
+feature pcre_jit
+
+server s1 {
+ rxreq
+ expect req.http.found == "1"
+ txresp
+ rxreq
+ expect req.http.found == <undef>
+ txresp
+} -start
+
+# If you want to play around, uncomment the next lines and adjust
+# the length of the aaaaaaaaaaa strings below to suit your needs.
+# Better yet: Rewrite your regexps to avoid this madness.
+
+# varnish v1 -arg "-p thread_pool_stack=48k"
+# varnish v1 -arg "-p pcre_match_limit=1000"
+# varnish v1 -arg "-p pcre_match_limit_recursion=89"
+
+# Approximate formua for FreeBSD/amd64:
+# pcre_match_limit_recursion = thread_pool_stack * 2 - 9
+
+varnish v1 -vcl+backend {
+ sub vcl_recv {
+ if (req.url ~ "^/a((?!/.).)*$") {
+ set req.http.found = "1";
+ }
+ }
+} -start
+
+# This should succeed with default params and JIT/no-JIT
+client c1 {
+ txreq -url /aaaaaaaa
+ rxresp
+} -run
+
+# PCRE_ERROR_RECURSIONLIMIT (-21)
+# PCRE_ERROR_JIT_STACKLIMIT (-27)
+logexpect l1 -v v1 {
+ expect * * VCL_Error "Regexp matching returned -2[71]"
+} -start
+
+# This should fail with default params and JIT/no-JIT
+client c1 {
+ txreq -url /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ rxresp
+} -run
+
+logexpect l1 -wait
diff --git a/bin/varnishtest/tests/r01576.vtc b/bin/varnishtest/tests/r01576.vtc
deleted file mode 100644
index b0fdb9f..0000000
--- a/bin/varnishtest/tests/r01576.vtc
+++ /dev/null
@@ -1,51 +0,0 @@
-varnishtest "Test recursive regexp's fail before consuming all the stack"
-
-feature pcre_jit
-
-server s1 {
- rxreq
- expect req.http.found == "1"
- txresp
- rxreq
- expect req.http.found == <undef>
- txresp
-} -start
-
-# If you want to play around, uncomment the next lines and adjust
-# the length of the aaaaaaaaaaa strings below to suit your needs.
-# Better yet: Rewrite your regexps to avoid this madness.
-
-# varnish v1 -arg "-p thread_pool_stack=48k"
-# varnish v1 -arg "-p pcre_match_limit=1000"
-# varnish v1 -arg "-p pcre_match_limit_recursion=89"
-
-# Approximate formua for FreeBSD/amd64:
-# pcre_match_limit_recursion = thread_pool_stack * 2 - 9
-
-varnish v1 -vcl+backend {
- sub vcl_recv {
- if (req.url ~ "^/a((?!/.).)*$") {
- set req.http.found = "1";
- }
- }
-} -start
-
-# This should succeed with default params and JIT/no-JIT
-client c1 {
- txreq -url /aaaaaaaa
- rxresp
-} -run
-
-# PCRE_ERRO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