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

des at projects.linpro.no des at projects.linpro.no
Tue Jul 24 15:50:12 CEST 2007


Author: des
Date: 2007-07-24 15:50:12 +0200 (Tue, 24 Jul 2007)
New Revision: 1746

Modified:
   trunk/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm
Log:
Actually, the message will be in the body.


Modified: trunk/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm
===================================================================
--- trunk/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm	2007-07-24 11:39:55 UTC (rev 1745)
+++ trunk/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm	2007-07-24 13:50:12 UTC (rev 1746)
@@ -57,7 +57,7 @@
     die "Incorrect response code\n"
 	if $response->code != $CODE;
     die "Incorrect response message\n"
-	if $response->message ne $MESSAGE;
+	unless index($response->content, $MESSAGE);
 
     $client->shutdown();
 




More information about the varnish-commit mailing list