You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by du...@apache.org on 2009/03/03 19:35:33 UTC

svn commit: r749680 - /spamassassin/trunk/t/reuse.t

Author: duncf
Date: Tue Mar  3 18:35:32 2009
New Revision: 749680

URL: http://svn.apache.org/viewvc?rev=749680&view=rev
Log:
Fix reuse.t to skip tests if mass-check is missing.

Modified:
    spamassassin/trunk/t/reuse.t

Modified: spamassassin/trunk/t/reuse.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/reuse.t?rev=749680&r1=749679&r2=749680&view=diff
==============================================================================
--- spamassassin/trunk/t/reuse.t (original)
+++ spamassassin/trunk/t/reuse.t Tue Mar  3 18:35:32 2009
@@ -23,7 +23,13 @@
 
 use Mail::SpamAssassin;
 
-plan tests => 37;
+if (-e '../masses/mass-check') {
+  plan tests => 37;
+}
+else {
+  plan tests => 0;
+  exit;
+}
 
 # Tests the following cases:
 # - No reuse: no change