]> err.no Git - varnish/commitdiff
Actually, the message will be in the body.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 24 Jul 2007 13:50:12 +0000 (13:50 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 24 Jul 2007 13:50:12 +0000 (13:50 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1746 d4fa192b-c00b-0410-8231-f00ffab90ce4

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

index b012ced93abb4fda13ba1967ce01be1c69a1d9db..9b827c1dfddcb45fb46227dd1bb7cf42d9e79e5d 100644 (file)
@@ -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();