From: des Date: Tue, 24 Jul 2007 13:50:12 +0000 (+0000) Subject: Actually, the message will be in the body. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e654611cf75048bc7374b42c5e9844b4a21f3d0a;p=varnish Actually, the message will be in the body. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1746 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm b/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm index b012ced9..9b827c1d 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Case/Ticket128.pm @@ -57,7 +57,7 @@ sub testSyntheticError($) { 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();