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/14 14:56:59 UTC

svn commit: r487213 - in /spamassassin/trunk/t: spamd_kill_restart.t spamd_kill_restart_rr.t

Author: jm
Date: Thu Dec 14 05:56:58 2006
New Revision: 487213

URL: http://svn.apache.org/viewvc?view=rev&rev=487213
Log:
oops; fix typo and increase test count

Modified:
    spamassassin/trunk/t/spamd_kill_restart.t
    spamassassin/trunk/t/spamd_kill_restart_rr.t

Modified: spamassassin/trunk/t/spamd_kill_restart.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spamd_kill_restart.t?view=diff&rev=487213&r1=487212&r2=487213
==============================================================================
--- spamassassin/trunk/t/spamd_kill_restart.t (original)
+++ spamassassin/trunk/t/spamd_kill_restart.t Thu Dec 14 05:56:58 2006
@@ -4,7 +4,7 @@
 use SATest; sa_t_init("spamd_kill_restart");
 use constant TEST_ENABLED => !$SKIP_SPAMD_TESTS && !$RUNNING_ON_WINDOWS;
 
-use Test; BEGIN { plan tests => (TEST_ENABLED? 63 : 0) };
+use Test; BEGIN { plan tests => (TEST_ENABLED? 73 : 0) };
 
 use File::Spec;
 
@@ -52,7 +52,7 @@
   dbgprint "Waiting for spamd at pid $pid1 to restart...\n";
 # note that the wait period increases the longer it takes,
 # 20 retries works out to a total of 60 seconds
-  my $timeout = 20;
+  $timeout = 20;
   my $wait = 0;
   do {
     sleep (int($wait++ / 4) + 1) if $timeout > 0;

Modified: spamassassin/trunk/t/spamd_kill_restart_rr.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spamd_kill_restart_rr.t?view=diff&rev=487213&r1=487212&r2=487213
==============================================================================
--- spamassassin/trunk/t/spamd_kill_restart_rr.t (original)
+++ spamassassin/trunk/t/spamd_kill_restart_rr.t Thu Dec 14 05:56:58 2006
@@ -4,7 +4,7 @@
 use SATest; sa_t_init("spamd_kill_restart_rr");
 use constant TEST_ENABLED => !$SKIP_SPAMD_TESTS && !$RUNNING_ON_WINDOWS;
 
-use Test; BEGIN { plan tests => (TEST_ENABLED? 63 : 0) };
+use Test; BEGIN { plan tests => (TEST_ENABLED? 73 : 0) };
 
 use File::Spec;
 
@@ -52,7 +52,7 @@
   dbgprint "Waiting for spamd at pid $pid1 to restart...\n";
 # note that the wait period increases the longer it takes,
 # 20 retries works out to a total of 60 seconds
-  my $timeout = 20;
+  $timeout = 20;
   my $wait = 0;
   do {
     sleep (int($wait++ / 4) + 1) if $timeout > 0;