Mailing List Archive

svn commit: rev 6227 - in incubator/spamassassin/trunk: spamc t
Author: mss
Date: Mon Jan 19 03:36:57 2004
New Revision: 6227

Modified:
incubator/spamassassin/trunk/spamc/README.win
incubator/spamassassin/trunk/t/SATest.pm
Log:
More magic for Windows.


Modified: incubator/spamassassin/trunk/spamc/README.win
==============================================================================
--- incubator/spamassassin/trunk/spamc/README.win (original)
+++ incubator/spamassassin/trunk/spamc/README.win Mon Jan 19 03:36:57 2004
@@ -62,7 +62,7 @@

and set it to

-SPAMD_SCRIPT=start \cygwin\bin\perl -w -T /bin/spamd -x -s stderr --syslog-socket none
+SPAMD_SCRIPT=\cygwin\bin\perl -w -T /bin/spamd

where "\cygwin\bin\perl" is the path of the Cygwin perl executable
file in the Windows directory system, and "/bin/spamd" is the path of

Modified: incubator/spamassassin/trunk/t/SATest.pm
==============================================================================
--- incubator/spamassassin/trunk/t/SATest.pm (original)
+++ incubator/spamassassin/trunk/t/SATest.pm Mon Jan 19 03:36:57 2004
@@ -277,9 +277,11 @@
my $spamd_stdout = "log/$testname-spamd.out";
my $spamd_stderr = "log/$testname-spamd.err";
my $spamd_stdlog = "log/$testname-spamd.log";
- my $spamd_forker = $ENV{'SPAMD_FORKER'} ?
- $ENV{'SPAMD_FORKER'} :
- $perl_path;
+ my $spamd_forker = $ENV{'SPAMD_FORKER'} ?
+ $ENV{'SPAMD_FORKER'} :
+ $RUNNING_ON_WINDOWS ?
+ "start $perl_path" :
+ $perl_path;
my $spamd_cmd = join(' ',
$spamd_forker,
qq{SATest.pl},