]> err.no Git - varnish/commitdiff
Add regressiont test for #409
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 18 Dec 2008 10:32:48 +0000 (10:32 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 18 Dec 2008 10:32:48 +0000 (10:32 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3468 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/r00409.vtc [new file with mode: 0644]

diff --git a/varnish-cache/bin/varnishtest/tests/r00409.vtc b/varnish-cache/bin/varnishtest/tests/r00409.vtc
new file mode 100644 (file)
index 0000000..0b0ae08
--- /dev/null
@@ -0,0 +1,11 @@
+# $Id$
+
+test "Regression test for ticket 409"
+
+varnish v1  -badvcl {
+       sub vcl_recv {
+               if ( req.url ~ ! "\.(png|jpg|gif|js|css)$" ) {
+                       return (pass);
+               }
+       }
+}