r5141 - trunk/varnish-cache/bin/varnishtest/tests
phk at varnish-cache.org
phk at varnish-cache.org
Fri Aug 27 11:23:34 CEST 2010
Author: phk
Date: 2010-08-27 11:23:34 +0200 (Fri, 27 Aug 2010)
New Revision: 5141
Modified:
trunk/varnish-cache/bin/varnishtest/tests/v00019.vtc
Log:
Coverage of new multi-token error messages.
Modified: trunk/varnish-cache/bin/varnishtest/tests/v00019.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/v00019.vtc 2010-08-27 08:11:38 UTC (rev 5140)
+++ trunk/varnish-cache/bin/varnishtest/tests/v00019.vtc 2010-08-27 09:23:34 UTC (rev 5141)
@@ -54,3 +54,34 @@
backend b { .host = "127.0.0.1"; }
?
}
+
+varnish v1 -badvcl {
+ backend b { .host = "127.0.0.1"; }
+ sub vcl_recv {
+ if ("foo" + "bar" == 777) {
+ set req.http.host = 1;
+ }
+ }
+}
+
+varnish v1 -badvcl {
+ backend b { .host = "127.0.0.1"; }
+ sub vcl_recv {
+ if ("foo" + "bar" ==
+ 777) {
+ set req.http.host = 1;
+ }
+ }
+}
+
+varnish v1 -badvcl {
+ backend b { .host = "127.0.0.1"; }
+ sub vcl_recv {
+ if ("foo" + "bar" ==
+
+
+ 777) {
+ set req.http.host = 1;
+ }
+ }
+}
More information about the varnish-commit
mailing list