From 3a692a994a190620a0c257a667d6ac16e43070e7 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 3 Feb 2009 21:22:52 +0000 Subject: [PATCH] Add line numbers to this test, so we can see where it croaks, when it does. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3574 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- .../bin/varnishtest/tests/e00008.vtc | 78 ++++++++++--------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/varnish-cache/bin/varnishtest/tests/e00008.vtc b/varnish-cache/bin/varnishtest/tests/e00008.vtc index 4581edbf..22e449da 100644 --- a/varnish-cache/bin/varnishtest/tests/e00008.vtc +++ b/varnish-cache/bin/varnishtest/tests/e00008.vtc @@ -5,41 +5,41 @@ test "ESI parsing errors" server s1 { rxreq txresp -body { - - Before include - - After include - - - - foo - - - - - - - - - - bar - - - - - - 1 + Before include 2 + 3 + After include 4 + 5 + 6 + 7 + foo 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + bar 18 + 19 + 20 + 21 + 22 + 23 + - - - - - - - - 33 + 34 } rxreq expect req.url == "/body" @@ -61,14 +61,18 @@ varnish v1 -vcl+backend { sub vcl_fetch { esi; } -} -start +} -start + +varnish v1 -cliok "param.set esi_syntax 6" + +varnish v1 -cliok "param.set diag_bitmap 0x10000" client c1 { txreq rxresp expect resp.status == 200 - expect resp.bodylen == 231 + expect resp.bodylen == 385 } client c1 -run -varnish v1 -expect esi_errors == 15 +varnish v1 -expect esi_errors == 14 -- 2.39.5