r3743 - branches/2.0/varnish-cache/bin/varnishtest/tests
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Feb 11 08:58:37 CET 2009
Author: tfheen
Date: 2009-02-11 08:58:36 +0100 (Wed, 11 Feb 2009)
New Revision: 3743
Modified:
branches/2.0/varnish-cache/bin/varnishtest/tests/e00008.vtc
Log:
Merge r3574: Add line numbers to this test, so we can see where it croaks, when it does.
Modified: branches/2.0/varnish-cache/bin/varnishtest/tests/e00008.vtc
===================================================================
--- branches/2.0/varnish-cache/bin/varnishtest/tests/e00008.vtc 2009-02-11 07:53:47 UTC (rev 3742)
+++ branches/2.0/varnish-cache/bin/varnishtest/tests/e00008.vtc 2009-02-11 07:58:36 UTC (rev 3743)
@@ -5,42 +5,42 @@
server s1 {
rxreq
txresp -body {
- <html>
- Before include
- <!--esi <esi:include src="/body"/> -->
- After include
- <!-- normal comment -->
- <esi:bogosity/>
- <esi:comment>
- foo
- </esi:comment>
- <esi:comment bar />
-
- <esi:remove>
- <esi:comment foo/>
- </esi:remove>
-
- <esi:remove>
- <esi:remove>
- bar
- </esi:remove>
- </esi:remove>
- </>
- <esi:remove/>
-
- <esi:include
+ <html> 1
+ Before include 2
+ <!--esi <esi:include src="/body"/> --> 3
+ After include 4
+ <!-- normal comment --> 5
+ <esi:bogosity/> 6
+ <esi:comment> 7
+ foo 8
+ </esi:comment> 9
+ <esi:comment bar /> 10
+ 11
+ <esi:remove> 12
+ <esi:comment foo/> 13
+ </esi:remove> 14
+ 15
+ <esi:remove> 16
+ <esi:remove> 17
+ bar 18
+ </esi:remove> 19
+ </esi:remove> 20
+ </> 21
+ <esi:remove/> 22
+ 23
+ <esi:include 24
- >
-
- <esi:include aaa />
- <esi:include k.=./>
- <esi:include src/>
- <esi:include src=/>
- <esi:include src= />
- </esi:include>
- <esi:include src="foofof />
- <esi:include foo=bar src=/body2 />
+ > 25
+ 26
+ <esi:include aaa /> 27
+ <esi:include k.=./> 28
+ <esi:include src/> 29
+ <esi:include src=/> 30
+ <esi:include src= /> 31
+ </esi:include> 32
+ <esi:include src="foofof /> 33
+ <esi:include foo=bar src=/body2 /> 34
}
rxreq
expect req.url == "/body"
@@ -62,14 +62,18 @@
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
More information about the varnish-commit
mailing list