"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/dkim.t" between
Mail-SpamAssassin-3.4.4.tar.bz2 and Mail-SpamAssassin-3.4.5.tar.bz2

About: SpamAssassin is a mail filter that uses a wide range of heuristic tests on mail headers and body text to identify "spam" (also known as unsolicited commercial email) incl. Bayesian (statistical) spam filter and several internet-based realtime blacklists.

dkim.t  (Mail-SpamAssassin-3.4.4.tar.bz2):dkim.t  (Mail-SpamAssassin-3.4.5.tar.bz2)
#!/usr/bin/perl -T #!/usr/bin/perl -T
use strict; use strict;
use warnings; use warnings;
use re 'taint'; use re 'taint';
use lib '.'; use lib 't'; use lib '.'; use lib 't';
use version 0.77;
use SATest; sa_t_init("dkim"); use SATest; sa_t_init("dkim");
use vars qw(%patterns %anti_patterns); use vars qw(%patterns %anti_patterns);
use constant HAS_DKIM_VERIFIER => eval { use constant HAS_DKIM_VERIFIER => eval {
require Mail::DKIM::Verifier; require Mail::DKIM::Verifier;
Mail::DKIM::Verifier->VERSION >= 0.31; version->parse(Mail::DKIM::Verifier->VERSION) >= version->parse->(0.31);
}; };
use Test::More; use Test::More;
plan skip_all => "Net tests disabled" unless conf_bool('run_net_tests'); plan skip_all => "Net tests disabled" unless conf_bool('run_net_tests');
plan skip_all => "Needs Mail::DKIM::Verifier >= 0.31" unless HAS_DKIM_VERIFIER ; plan skip_all => "Needs Mail::DKIM::Verifier >= 0.31" unless HAS_DKIM_VERIFIER ;
plan tests => 226; plan tests => 258;
BEGIN { BEGIN {
if (-e 't/test_dir') { if (-e 't/test_dir') {
chdir 't'; chdir 't';
} }
if (-e 'test_dir') { if (-e 'test_dir') {
unshift(@INC, '../blib/lib'); unshift(@INC, '../blib/lib');
} }
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)