spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: r470927 - /spamassassin/trunk/t/SATest.pm
Date Fri, 03 Nov 2006 17:55:46 GMT
Author: jm
Date: Fri Nov  3 09:55:45 2006
New Revision: 470927

URL: http://svn.apache.org/viewvc?view=rev&rev=470927
Log:
no point hanging around waiting for spamd when there are obvious errors

Modified:
    spamassassin/trunk/t/SATest.pm

Modified: spamassassin/trunk/t/SATest.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/SATest.pm?view=diff&rev=470927&r1=470926&r2=470927
==============================================================================
--- spamassassin/trunk/t/SATest.pm (original)
+++ spamassassin/trunk/t/SATest.pm Fri Nov  3 09:55:45 2006
@@ -449,6 +449,12 @@
         # Yes, DO retry on this error. I'm getting test failures otherwise
         # /Address already in use/ and $retries = 0;
 	/server pid: (\d+)/ and $spamd_pid = $1;
+
+        if (/ERROR/) {
+          warn "spamd error! $_";
+          $retries = 0; last;
+        }
+
 	$spamdlog .= $_;
       }
       close IN;



Mime
View raw message