From: phk Date: Mon, 7 Jul 2008 21:09:05 +0000 (+0000) Subject: testcase for unknown backend field X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ced050cbc0f19aa6d7522df9a65d5ac98cd475e;p=varnish testcase for unknown backend field git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2891 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/v00002.vtc b/varnish-cache/bin/varnishtest/tests/v00002.vtc index 8a4cdc56..33a5718e 100644 --- a/varnish-cache/bin/varnishtest/tests/v00002.vtc +++ b/varnish-cache/bin/varnishtest/tests/v00002.vtc @@ -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";