update MANIFEST and suppress helo test error

This commit is contained in:
Matt Simerson 2014-09-11 09:19:00 -07:00
parent fabbdae960
commit e7a4ca2b08
2 changed files with 5 additions and 2 deletions

View File

@ -207,6 +207,9 @@ t/plugin_tests/sender_permitted_from
t/plugin_tests/spamassassin
t/plugin_tests/virus/clamdscan
t/qpsmtpd-address.t
t/qpsmtpd-smtp.t
t/qpsmtpd-utils.t
t/qpsmtpd.t
t/rset.t
t/tempstuff.t
t/Test/Qpsmtpd.pm

View File

@ -65,11 +65,11 @@ sub test_invalid_localhost {
foreach my $ip ( undef, '', '192.0.99.5' ) {
$self->qp->connection->remote_ip(undef);
($err, $why) = $self->invalid_localhost('localhost' );
ok(!$err, "host: localhost, remote ip: $ip");
ok(!$err, "host: localhost, invalid remote ip");
$self->qp->connection->remote_ip(undef);
($err, $why) = $self->invalid_localhost('not-localhost');
ok($err, "host: not-localhost, remote ip: $ip");
ok($err, "host: not-localhost, invalid remote ip");
};
foreach my $ip (qw/ ::1 127.0.0.1 / ) {