Skip Menu |
 

This queue is for tickets about the Net-HTTPServer CPAN distribution.

Report information
The Basics
Id: 7317
Status: resolved
Priority: 0/
Queue: Net-HTTPServer

People
Owner: reatmon [...] mail.com
Requestors: mark [...] thomaszone.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0
Fixed in: (no value)



Subject: Cookie-related tests erroneously fail
Download (untitled) / with headers
text/plain 3.1k
CPAN install fails 5 tests. This is Net::HTTPServer 1.0 on perl v5.8.1 built for i386-linux-thread-multi (Fedora Core 1). The output from CPAN is as follows: Running make for R/RE/REATMON/Net-HTTPServer-1.0.tar.gz Is already unwrapped into directory /root/.cpan/build/Net-HTTPServer-1.0 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_load......ok t/2_new.......ok t/request.....ok t/response....NOK 9# Failed test (t/response.t at line 28) # Structures begin differing at: # $got->[0] = 'HTTP/1.1 200 # Test: test # Set-Cookie: Test=test;domain=domain;expires=expires;path=path;secure # # ' # $expected->[0] = 'HTTP/1.1 200 # Test: test # Set-Cookie: Test=test;domain=domain;secure;path=path;expires=expires # # ' t/response....NOK 13# Failed test (t/response.t at line 36) # Structures begin differing at: # $got->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;expires=expires;path=path;secure # # ' # $expected->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;secure;path=path;expires=expires # # ' t/response....NOK 16# Failed test (t/response.t at line 43) # Structures begin differing at: # $got->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;expires=expires;path=path;secure # # ' # $expected->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;secure;path=path;expires=expires # # ' t/response....NOK 19# Failed test (t/response.t at line 50) # Structures begin differing at: # $got->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;expires=expires;path=path;secure # # ' # $expected->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;secure;path=path;expires=expires # # ' t/response....NOK 23# Failed test (t/response.t at line 60) # Structures begin differing at: # $got->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;expires=expires;path=path;secure # # ' # $expected->[0] = 'HTTP/1.1 400 # Test: test # Set-Cookie: Test=test;domain=domain;secure;path=path;expires=expires # # ' t/response....ok 26/26# Looks like you failed 5 tests of 26. t/response....dubious Test returned status 5 (wstat 1280, 0x500) Scalar found where operator expected at (eval 153) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 9, 13, 16, 19, 23 Failed 5/26 tests, 80.77% okay t/session.....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/response.t 5 1280 26 5 19.23% 9 13 16 19 23 Failed 1/5 test scripts, 80.00% okay. 5/141 subtests failed, 96.45% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Download (untitled) / with headers
text/plain 3.4k
Doh! The hashes are being read in a different order. I can fix that. Thanks. [guest - Tue Aug 10 21:36:13 2004]: Show quoted text
> CPAN install fails 5 tests. This is Net::HTTPServer 1.0 > on perl v5.8.1 built for i386-linux-thread-multi (Fedora Core 1). > The output from CPAN is as follows: > > Running make for R/RE/REATMON/Net-HTTPServer-1.0.tar.gz > Is already unwrapped into directory /root/.cpan/build/Net- > HTTPServer-1.0 > Has already been processed within this session > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1_load......ok > t/2_new.......ok > t/request.....ok > t/response....NOK 9# Failed test (t/response.t at line 28) > # Structures begin differing at: > # $got->[0] = 'HTTP/1.1 200 > # Test: test > # Set-Cookie: > Test=test;domain=domain;expires=expires;path=path;secure > # > # ' > # $expected->[0] = 'HTTP/1.1 200 > # Test: test > # Set-Cookie: > Test=test;domain=domain;secure;path=path;expires=expires > # > # ' > t/response....NOK 13# Failed test (t/response.t at line 36) > # Structures begin differing at: > # $got->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;expires=expires;path=path;secure > # > # ' > # $expected->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;secure;path=path;expires=expires > # > # ' > t/response....NOK 16# Failed test (t/response.t at line 43) > # Structures begin differing at: > # $got->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;expires=expires;path=path;secure > # > # ' > # $expected->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;secure;path=path;expires=expires > # > # ' > t/response....NOK 19# Failed test (t/response.t at line 50) > # Structures begin differing at: > # $got->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;expires=expires;path=path;secure > # > # ' > # $expected->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;secure;path=path;expires=expires > # > # ' > t/response....NOK 23# Failed test (t/response.t at line 60) > # Structures begin differing at: > # $got->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;expires=expires;path=path;secure > # > # ' > # $expected->[0] = 'HTTP/1.1 400 > # Test: test > # Set-Cookie: > Test=test;domain=domain;secure;path=path;expires=expires > # > # ' > t/response....ok 26/26# Looks like you failed 5 tests of 26. > t/response....dubious > Test returned status 5 (wstat 1280, 0x500) > Scalar found where operator expected at (eval 153) line 1, near "'int' > $__val" > (Missing operator before $__val?) > DIED. FAILED tests 9, 13, 16, 19, 23 > Failed 5/26 tests, 80.77% okay > t/session.....ok > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/response.t 5 1280 26 5 19.23% 9 13 16 19 23 > Failed 1/5 test scripts, 80.00% okay. 5/141 subtests failed, 96.45% > okay. > make: *** [test_dynamic] Error 255 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.