From 2f2ba73cf232cf00deec71299b6ec29acf3bf574 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 19 Oct 2007 09:48:35 +0000 Subject: [PATCH] Add error message. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2131 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.39.5