http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5761





------- Additional Comments From [EMAIL PROTECTED]  2008-01-01 10:54 -------
progress, i think!

co r607876
apply patch @
<http://issues.apache.org/SpamAssassin/attachment.cgi?id=4225&action=view>

config/make/install as before

kill any existing SPAMd

        /usr/local/etc/rc.d/sa-spamd.sh  stop
        ps ax | grep spam               86475  p4  R+J    0:00.00 grep spam
                (empty)

        setenv SPAMD_HOST "10.0.0.200"
        whoami
                root

(if i try this as "sudo -u spamd make test" -- since we're not supposed to run
tests as root, right? -- it fails as before. perms or code, i dunno.)

        make test

now succeeds with,

        All tests successful.
        Files=144, Tests=2078, 936 wallclock secs ( 0.81 usr  3.46 sys + 384.21 
cusr
114.23 csys = 502.71 CPU)
        Result: PASS

checking in detail just,

        make test TEST_VERBOSE=1 TEST_FILES="t/spamc_B.t"

we see,

        /usr/local/bin/perl build/mkrules --exit_on_no_src --src rulesrc --out 
rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
        mkrules: no rules updated
        /usr/local/bin/perl build/preprocessor  -Mvars  -DVERSION="3.002004" 
-DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/etc/SA/Dist" 
-DLOCAL_RULES_DIR="/usr/local/etc/SA/Local" 
-DLOCAL_STATE_DIR="/usr/local/etc/SA/Updates" 
-DINSTALLSITELIB="/usr/local/lib/perl5/site_perl/5.8.8"  -DCONTACT_ADDRESS=""
-Msharpbang  -Mconditional  -DPERL_BIN="/usr/local/bin/perl"  -DPERL_WARN="" 
-DPERL_TAINT="" -m755 -isa-update.raw -osa-update
        cp sa-update blib/script/sa-update
        /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" 
blib/script/sa-update
        PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/spamc_B.t
        t/spamc_B......
        1..9
        # Running under perl version 5.008008 for freebsd
        # Current time local: Tue Jan  1 10:49:19 2008
        # Current time GMT:   Tue Jan  1 18:49:19 2008
        # Using Test.pm version 1.25
                /usr/local/bin/perl SATest.pl -Mredirect 
-Olog/d.spamc_B/spamd.err.1
-olog/d.spamc_B/spamd.out.1 -- /usr/local/bin/perl -T -w ../spamd/spamd.raw -D
-x -s stderr -C log/test_rules_copy  --siteconfigpath log/localrules.tmp -p
41083 -A 10.0.0.200 -i 10.0.0.200 -L -s log/d.spamc_B/spamd.err.1.timestamped &
                ../spamc/spamc -F data/spamc_blank.cf -d 10.0.0.200 -p 41083 -B 
<
data/spam/bsmtpnull
        ok 1
                ../spamc/spamc -F data/spamc_blank.cf -d 10.0.0.200 -p 41083 -B 
< data/spam/bsmtp
        ok 2
                Checking data
        ok 3
                Checking helo
        ok 4
                Checking status
        ok 5
                Checking mailfrom
        ok 6
                Checking quit
        ok 7
                Checking rcptto
        ok 8
                Checking spamflag
        ok 9
        Killed 1 spamd instances
        Waiting for spamd at pid 8500 to exit...
        ok
        All tests successful.
        Files=1, Tests=9,  8 wallclock secs ( 0.05 usr  0.00 sys +  0.31 cusr  
0.60
csys =  0.96 CPU)
        Result: PASS





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

Reply via email to