Show quoted text> If you can recreate this problem, can you please send me a verbose
> report of the test results:
>
> ./Build test verbose=1
>
This is what I'm getting:
./Build test
t/01_basic............ok
t/02_cookie...........ok
t/03_nocookie.........ok
t/04_cgisimple........skipped
all skipped: CGI::Simple required for this test
t/05_sid..............ok
t/06_expiry...........NOK 4/16
# Failed test 'session cookie expiry set'
# at t/06_expiry.t line 21.
# 'Set-Cookie:
CGISESSID=a7104754ef9fac38ae6217fec485b51a; path=/; expires=+3600s
# Date: Tue, 05 Dec 2006 11:24:27 GMT
# Content-Type: text/html; charset=ISO-8859-1
#
# session expiry: (3600)
# '
# doesn't match '(?-xism:expires=\w{3}, )'
t/06_expiry...........NOK 8/16
# Failed test 'session cookie expiry set'
# at t/06_expiry.t line 40.
# 'Set-Cookie:
CGISESSID=a7104754ef9fac38ae6217fec485b51a; path=/; expires=+3600s
# Date: Tue, 05 Dec 2006 11:24:27 GMT
# Content-Type: text/html; charset=ISO-8859-1
#
# session expiry: (3600)
# '
# doesn't match '(?-xism:expires=\w{3}, )'
t/06_expiry...........NOK 14/16
# Failed test 'session cookie expiry set'
# at t/06_expiry.t line 64.
# 'Set-Cookie:
CGISESSID=132671891306d31ba0aafff9bad59002; path=/; expires=-31536000s
# Date: Tue, 05 Dec 2006 11:24:27 GMT
# Content-Type: text/html; charset=ISO-8859-1
#
# session expiry: (-31536000)
# '
# doesn't match '(?-xism:expires=\w{3}, )'
Use of uninitialized value in subtraction (-) at t/06_expiry.t line 69.
t/06_expiry...........NOK 15/16
# Failed test 'Expiry should not change'
# at t/06_expiry.t line 69.
# got: undef
# expected: '-1'
t/06_expiry...........ok 16/16# Looks like you failed 4 tests of 16.
t/06_expiry...........dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 4, 8, 14-15
Failed 4/16 tests, 75.00% okay
t/07_defaults.........ok
t/08_notcgipm.........ok
t/09_options..........ok
t/10_sessioncookie....ok
t/11_sessiondelete....ok
2/20 skipped: various reasons
t/12_badconfig........ok
t/98_pod..............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/99_pod_coverage.....skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/06_expiry.t 4 1024 16 4 4 8 14-15
3 tests and 2 subtests skipped.
Failed 1/14 test scripts. 4/105 subtests failed.
Files=14, Tests=105, 4 wallclock secs ( 0.81 cusr + 0.82 csys = 1.63 CPU)
Failed 1/14 test programs. 4/105 subtests failed.
This is on CentOS v4:
uname -a
Linux rdblin03 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686 i686
i386 GNU/Linux
The weird thing is I installed on another server today with exactly the
same version of CentOS and it worked. The only difference I can
determine is the version of Perl (both compiled from source). The
successful server is 5.8.7, the unsuccessful is 5.8.8