]> err.no Git - varnish/commitdiff
polish
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Jun 2008 11:16:58 +0000 (11:16 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Jun 2008 11:16:58 +0000 (11:16 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2847 d4fa192b-c00b-0410-8231-f00ffab90ce4

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

index 385e57137a7f6df75d7f7692e2ee40deb9ad549a..e4c3336544767848c9c17c1bc43eff29b45051f1 100644 (file)
@@ -1,6 +1,6 @@
 # $Id$
 
-test "VCL/VRT: misc"
+test "VCL/VRT: url/request/proto/response/status"
 
 
 server s1 {
@@ -30,9 +30,10 @@ varnish v1 -vcl+backend {
        }
        sub vcl_fetch {
                set obj.http.foobar =
-                   obj.proto obj.response;
+                   obj.proto obj.response obj.status;
                set obj.proto = "HTTP/1.2";
                set obj.response = "For circular files";
+               set obj.status = 903;
        }
        sub vcl_deliver {
                set resp.proto = "HTTP/1.2";