You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2009/07/07 18:10:42 UTC

svn commit: r791891 - /spamassassin/trunk/t/SATest.pm

Author: mmartinec
Date: Tue Jul  7 16:10:42 2009
New Revision: 791891

URL: http://svn.apache.org/viewvc?rev=791891&view=rev
Log:
t/SATest.pm: suppress printing "Output can be examined in:"
when there are no files to report.

Modified:
    spamassassin/trunk/t/SATest.pm

Modified: spamassassin/trunk/t/SATest.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/SATest.pm?rev=791891&r1=791890&r2=791891&view=diff
==============================================================================
--- spamassassin/trunk/t/SATest.pm (original)
+++ spamassassin/trunk/t/SATest.pm Tue Jul  7 16:10:42 2009
@@ -725,7 +725,8 @@
   }
 
   if ($wasfailure) {
-    warn "Output can be examined in: ".join(' ', @files_checked)."\n";
+    warn "Output can be examined in: ".
+         join(' ', @files_checked)."\n"  if @files_checked;
     return 0;
   } else {
     return 1;