hrmm, why didn't Test::Qpsmtpd::Plugin::log work?
This commit is contained in:
parent
bb0a0cb19b
commit
e07488d4f6
@ -1,5 +1,10 @@
|
|||||||
#!perl -w
|
#!perl -w
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
use Qpsmtpd::Constants;
|
||||||
|
|
||||||
sub register_tests {
|
sub register_tests {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
@ -17,7 +22,7 @@ sub test_auth_vpopmail {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
if ( ! $self->test_vpopmail_module ) {
|
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") };
|
foreach ( 0..2) { ok( 1, "test_auth_vpopmail, skipped") };
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,6 @@ sub register_tests {
|
|||||||
eval 'use Geo::IP';
|
eval 'use Geo::IP';
|
||||||
if ( $@ ) {
|
if ( $@ ) {
|
||||||
warn "could not load Geo::IP\n";
|
warn "could not load Geo::IP\n";
|
||||||
$self->log(LOGERROR, "could not load Geo::IP");
|
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user