https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8040

--- Comment #2 from Sidney Markowitz <sid...@sidney.com> ---
(In reply to Henrik Krohns from comment #1)
> Maybe try removing the getcwd call, seems a bit sussy as $workdir should
> already be absolute path.

It isn't. In SATest.pm it is set with

$workdir = tempdir("$tname.XXXXXX", DIR => "log");

and I checked with

% perl -MFile::Temp -e 'print File::Temp::tempdir("$tname.XXXXXX", DIR =>
"log");'
log/.GXK7qm

and also adding a couple of diag calls to t/spamd_plugin.t to print $workdir
and the environment variable

# DEBUG workdir is log/spamd_plugin.cvJHfn
# DEBUG path used is
/Users/sidney/OpenSource/spamassassin/trunk/t/log/spamd_plugin.cvJHfn/spamd_plugin.tmp

That's on my Mac. I can't check on my Linux VM until Solaris finishes taking a
million years to install so I can see if the error reproduces there.

Also, notice that the test for count 1 and count 3 both pass, which means that
the plugin has to have successfully run the second time and written to the
counter file, to allow count 3 to then succeed, even though the check for the
count 2 failed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to