Commit f0782bc2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More VCL compiler coverage tests



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3288 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d29132a1
# $Id$
test "VCL compiler coverage test: vcc_xref.c"
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set obj.ttl = 1 w; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub foo { set obj.ttl = 1 w; }
sub vcl_recv { call foo ; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { discard; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub foo { discard; }
sub vcl_recv { call foo; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub foo { call foo; }
sub vcl_recv { call foo; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub bar { call foo; }
sub foo { call bar; }
sub vcl_recv { call foo; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
acl foo { "localhost"; }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment