hrmm, why didn't Test::Qpsmtpd::Plugin::log work?

This commit is contained in:
Matt Simerson 2012-05-22 16:54:47 -04:00
parent bb0a0cb19b
commit e07488d4f6
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,10 @@
#!perl -w
use strict;
use warnings;
use Qpsmtpd::Constants;
sub register_tests {
my $self = shift;
@ -17,7 +22,7 @@ sub test_auth_vpopmail {
my $self = shift;
if ( ! $self->test_vpopmail_module ) {
$self->log(LOGERROR, "vpopmail plugin not configured" );
warn "vpopmail plugin not configured\n";
foreach ( 0..2) { ok( 1, "test_auth_vpopmail, skipped") };
return;
};

View File

@ -11,7 +11,6 @@ sub register_tests {
eval 'use Geo::IP';
if ( $@ ) {
warn "could not load Geo::IP\n";
$self->log(LOGERROR, "could not load Geo::IP");
return;
};