From: des Date: Thu, 24 Jul 2008 12:33:32 +0000 (+0000) Subject: Test caching of synthetic error pages (broken since 2266). This will need revisiting... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=423592dd5f32ff631886e0f950d3b7f9792e3695;p=varnish Test caching of synthetic error pages (broken since 2266). This will need revisiting once caching has been reimplemented. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3014 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/b00015.vtc b/varnish-cache/bin/varnishtest/tests/b00015.vtc new file mode 100644 index 00000000..32e17333 --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/b00015.vtc @@ -0,0 +1,19 @@ +# $Id$ + +test "Check synthetic error page caching" + +server s1 { + rxreq + txresp -status 503 -msg "Server Error" +} -start + +varnish v1 -vcl+backend { } -start + +client c1 { + txreq -url "/" + rxresp + expect resp.status == 503 + txreq -url "/" + rxresp + expect resp.status == 503 +} -run