r1843 - trunk/varnish-tools/regress/lib/Varnish/Test/Case

des at projects.linpro.no des at projects.linpro.no
Mon Aug 13 20:37:26 CEST 2007


Author: des
Date: 2007-08-13 20:37:26 +0200 (Mon, 13 Aug 2007)
New Revision: 1843

Modified:
   trunk/varnish-tools/regress/lib/Varnish/Test/Case/RePurge.pm
Log:
The syntax has changed.


Modified: trunk/varnish-tools/regress/lib/Varnish/Test/Case/RePurge.pm
===================================================================
--- trunk/varnish-tools/regress/lib/Varnish/Test/Case/RePurge.pm	2007-08-13 18:37:15 UTC (rev 1842)
+++ trunk/varnish-tools/regress/lib/Varnish/Test/Case/RePurge.pm	2007-08-13 18:37:26 UTC (rev 1843)
@@ -40,10 +40,10 @@
 
 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
 




More information about the varnish-commit mailing list