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

Test coverage for vcc_token.c



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3259 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4cc1ebb8
# $Id$
test "VCL compiler coverage test: vcc_token.c"
varnish v1 -badvcl " C{ "
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set req.url = "%/"; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set req.url = "%a/"; }
}
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set req.url = "%4a"; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set req.url = "%0a"; }
}
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
# comment
sub vcl_recv { set req.url = "x"; }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
/*
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
{" }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
"
}
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { C{ int i; (void)i; }C }
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
?
}
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