[master] d0345f9b2 c67.vtc: Ignore the Request header length

Nils Goroll nils.goroll at uplex.de
Sat May 28 13:33:04 UTC 2022


commit d0345f9b2da30ea993a663278255674244b591a1
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sat May 28 15:31:45 2022 +0200

    c67.vtc: Ignore the Request header length
    
    It differs for vtest running on IPv6

diff --git a/bin/varnishtest/tests/c00067.vtc b/bin/varnishtest/tests/c00067.vtc
index f68775617..71e8c90f0 100644
--- a/bin/varnishtest/tests/c00067.vtc
+++ b/bin/varnishtest/tests/c00067.vtc
@@ -52,18 +52,18 @@ varnish v1 -vcl+backend {
 logexpect l2 -v v1 -g vxid -q {ReqURL ~ "^/2"} {
 	expect * * ReqUnset        {^Transfer-encoding: chunked}
 	expect 0 = ReqHeader       {^Content-Length: 109}
-	expect * = ReqAcct         {^65 109 }
+	expect * = ReqAcct         {^\d+ 109 }
 } -start
 
 logexpect l3 -v v1 -g vxid -q {ReqURL ~ "^/3"} {
 	expect * * ReqUnset        {^Transfer-encoding: chunked}
 	expect 0 = ReqHeader       {^Content-Length: 110}
-	expect * = ReqAcct         {^65 110 }
+	expect * = ReqAcct         {^\d+ 110 }
 } -start
 
 logexpect l4 -v v1 -g vxid -q {ReqURL ~ "^/4"} {
 	expect * * FetchError      {^Request body too big to cache}
-	expect * = ReqAcct         {^65 111 }
+	expect * = ReqAcct         {^\d+ 111 }
 } -start
 
 client c1 {


More information about the varnish-commit mailing list