You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/05/05 17:58:25 UTC

svn commit: r1900599 - /spamassassin/trunk/t/mkrules_else.t

Author: hege
Date: Thu May  5 17:58:25 2022
New Revision: 1900599

URL: http://svn.apache.org/viewvc?rev=1900599&view=rev
Log:
Ok fix properly. Apparently checkfile() is only for saving filenames when error (Output can be examined in..). Fix the path.

Modified:
    spamassassin/trunk/t/mkrules_else.t

Modified: spamassassin/trunk/t/mkrules_else.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/mkrules_else.t?rev=1900599&r1=1900598&r2=1900599&view=diff
==============================================================================
--- spamassassin/trunk/t/mkrules_else.t (original)
+++ spamassassin/trunk/t/mkrules_else.t Thu May  5 17:58:25 2022
@@ -175,8 +175,7 @@ sub mkrun {
   untaint_system ("$scrargs > $workdir/$testname.$test_number $post_redir");
   $mk_exitcode = ($?>>8);
   if ($mk_exitcode != 0) { return undef; }
-  # apparently redundant check, complains cannot open mkrules_else.0
-  #&checkfile ("$testname.$test_number", $read_sub) if (defined $read_sub);
+  &checkfile ("$workdir/$testname.$test_number", $read_sub) if (defined $read_sub);
   1;
 }