http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5591
Summary: make test fails at spamd_hup test
Product: Spamassassin
Version: 3.2.3
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P5
Component: Building & Packaging
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Solaris 9, SA 3.2.3, Perl 5.8.8
"make test" gives the following error:
# t/spamd_hup.t line 40 is: ok (-e $pid_file) or warn "$pid_file does not
exist post restart";
log/spamd.pid does not exist post restart at t/spamd_hup.t line 40.
Could not open pid file log/spamd.pid: No such file or directory
Exiting subroutine via next at t/SATest.pm line 844.
Could not open pid file log/spamd.pid: No such file or directory
Exiting subroutine via next at t/SATest.pm line 844.
...
However, if I test manually with
prove -v t/spamd_hup.t
then the test passes. If I check the spamd.err.1 file, the successful test
looks like this:
...
[5346] warn: spamd: restarting using '/usr/local/bin/perl -T -
w ../spamd/spamd.raw -D -x -s stderr -C log
/test_rules_copy --siteconfigpath log/localrules.tmp -p 38110 -A 127.0.0.1 -L -
r log/spamd.pid -s log/d.spamd_hup/spamd.err.1.timestamped'
syswrite() on closed filehandle STDLOG
at ../blib/lib/Mail/SpamAssassin/Logger/File.pm line 81.
[5346] dbg: logger: adding facilities: all
...
where the case that failed looks like this:
...
[23141] warn: spamd: restarting using '../spamd/spamd.raw -D -x -s stderr -C
log/test_rules_copy --siteconfigpath log/localrules.tmp -p 55905 -A 127.0.0.1 -
L -r log/spamd.pid -s log/d.spamd_hup/spamd.err.1.timestamped'
syswrite() on closed filehandle STDLOG
at ../blib/lib/Mail/SpamAssassin/Logger/File.pm line 81.
"-T" is on the #! line, it must also be used on the command line
at ../spamd/spamd.raw line 1.
So what happened to the "/usr/local/bin/perl -T -w" ??
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.