You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/12/28 16:46:19 UTC
svn commit: r490743 - /spamassassin/trunk/t/re_base_extraction.t
Author: jm
Date: Thu Dec 28 07:46:19 2006
New Revision: 490743
URL: http://svn.apache.org/viewvc?view=rev&rev=490743
Log:
silence debugs; block bayes use in re_base_extraction.t
Modified:
spamassassin/trunk/t/re_base_extraction.t
Modified: spamassassin/trunk/t/re_base_extraction.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/re_base_extraction.t?view=diff&rev=490743&r1=490742&r2=490743
==============================================================================
--- spamassassin/trunk/t/re_base_extraction.t (original)
+++ spamassassin/trunk/t/re_base_extraction.t Thu Dec 28 07:46:19 2006
@@ -9,6 +9,8 @@
use strict;
use warnings;
+my $debug = 0;
+
BEGIN {
if (-e 't/test_dir') { chdir 't'; }
if (-e 'test_dir') { unshift(@INC, '../blib/lib'); }
@@ -108,7 +110,7 @@
site_rules_filename => "log/test_default.cf",
userprefs_filename => "log/userprefs.cf",
local_tests_only => 1,
- debug => 1,
+ debug => $debug,
dont_copy_prefs => 1,
});
ok($sa);
@@ -120,6 +122,7 @@
open (OUT, ">log/test_rules_copy/00_test.cf") or die "failed to write rule";
print OUT "
+ use_bayes 0 # disable bayes loading
loadplugin Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor
".$rules;
close OUT;