You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2025/03/05 07:54:46 UTC
svn commit: r1924178 - /spamassassin/trunk/t/SATest.pm
Author: gbechis
Date: Wed Mar 5 07:54:45 2025
New Revision: 1924178
URL: http://svn.apache.org/viewvc?rev=1924178&view=rev
Log:
prevent a warning during regression tests
Modified:
spamassassin/trunk/t/SATest.pm
Modified: spamassassin/trunk/t/SATest.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/SATest.pm?rev=1924178&r1=1924177&r2=1924178&view=diff
==============================================================================
--- spamassassin/trunk/t/SATest.pm (original)
+++ spamassassin/trunk/t/SATest.pm Wed Mar 5 07:54:45 2025
@@ -257,8 +257,12 @@ sub sa_t_init {
$salearn_test_args = "";
$set_user_prefs = 0;
$default_cf_lines = "
- bayes_path ./$userstate/bayes
- auto_welcomelist_path ./$userstate/auto-welcomelist
+ ifplugin Mail::SpamAssassin::Plugin::Bayes
+ bayes_path ./$userstate/bayes
+ endif
+ ifplugin Mail::SpamAssassin::Plugin::AWL
+ auto_welcomelist_path ./$userstate/auto-welcomelist
+ endif
";
read_config();