Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest
In directory sc8-pr-cvs1:/tmp/cvs-serv17224
Modified Files:
ReportPlugin.pm
Log Message:
ReportPlugin.pm has a bug that it sends out email report
even if mail parameter is set to "errors" and all test passes.
Index: ReportPlugin.pm
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/ReportPlugin.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ReportPlugin.pm 26 Apr 2003 15:13:26 -0000 1.9
--- ReportPlugin.pm 5 Sep 2003 19:32:18 -0000 1.10
***************
*** 277,281 ****
return unless defined $mail;
return unless $mail eq 'all' or $mail eq 'errors';
! return if $mail eq 'errors' and !$self->webtest->have_succeed;
return 1;
--- 277,281 ----
return unless defined $mail;
return unless $mail eq 'all' or $mail eq 'errors';
! return if $mail eq 'errors' and $self->webtest->have_succeed;
return 1;
|