]> err.no Git - varnish/commitdiff
Add test for unknown director policy
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jul 2008 07:10:41 +0000 (07:10 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jul 2008 07:10:41 +0000 (07:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2899 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/v00002.vtc

index 9288e9a2ce126add2ac224866620a764668b3b83..2019bef1c285e3a40398a53e3bc49b198574ce81 100644 (file)
@@ -106,3 +106,8 @@ varnish v1 -badvcl {
        backend b1 { .host = "127.0.0.1"; }
        backend b1 { .host = "127.0.0.1"; }
 }
+
+# Unknown director policy
+varnish v1 -badvcl {
+       director r1 anarchy { .host = "127.0.0.1"; }
+}