r2131 - trunk/varnish-tools/regress/lib/Varnish/Test/Case
des at projects.linpro.no
des at projects.linpro.no
Fri Oct 19 11:48:35 CEST 2007
Author: des
Date: 2007-10-19 11:48:35 +0200 (Fri, 19 Oct 2007)
New Revision: 2131
Modified:
trunk/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm
Log:
Add error message.
Modified: trunk/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm
===================================================================
--- trunk/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm 2007-10-19 09:47:53 UTC (rev 2130)
+++ trunk/varnish-tools/regress/lib/Varnish/Test/Case/Pipeline.pm 2007-10-19 09:48:35 UTC (rev 2131)
@@ -91,7 +91,8 @@
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 {
More information about the varnish-commit
mailing list