]> err.no Git - varnish/commitdiff
The syntax has changed.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:37:26 +0000 (18:37 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:37:26 +0000 (18:37 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1843 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-tools/regress/lib/Varnish/Test/Case/RePurge.pm

index bdf6d78ba59a6e19d8238a546f86dcada4dc7395..1a262ebf1c745be811ad744b7c1a3a5450452517 100644 (file)
@@ -40,10 +40,10 @@ our $DESCR = "Tests the VCL purge() function by warming up the cache," .
 
 our $VCL = <<EOVCL;
 sub vcl_recv {
-       if (req.request == "REPURGE") {
-               purge(req.url);
-               error 404 "Purged";
-       }
+    if (req.request == "REPURGE") {
+       purge_url(req.url);
+       error 404 "Purged";
+    }
 }
 EOVCL