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

testcase for unknown backend field



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2891 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3038404d
......@@ -49,6 +49,14 @@ varnish v1 -badvcl {
}
}
# unknown field
varnish v1 -badvcl {
backend b1 {
.host = "localhost";
.foobar = 123;
}
}
# Check backend reference by name
varnish v1 -badvcl {
backend b1 { .host = "127.0.0.2"; }
......@@ -79,7 +87,6 @@ varnish v1 -badvcl {
}
# Old backend syntax
varnish v1 -badvcl {
backend b1 {
set host = "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