From: des Date: Fri, 19 Oct 2007 09:48:35 +0000 (+0000) Subject: Add error message. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2ba73cf232cf00deec71299b6ec29acf3bf574;p=varnish Add error message. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2131 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm b/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm index 99235556..fd122b77 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm @@ -91,7 +91,8 @@ sub server($$$) { my ($author) = ($request->uri =~ m/(\w+)$/); if ($CONTENT{$author}) { if ($request->method eq 'POST') { - die unless $request->content eq $CONTENT{$author} x $REPS; + die "Not the content I expected\n" + unless $request->content eq $CONTENT{$author} x $REPS; } $response->content($CONTENT{$author}); } else {