Skip Menu |
 

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 80144
Status: resolved
Priority: 0/
Queue: HTTP-Message

People
Owner: Nobody in particular
Requestors: EWILHELM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 6.04
Fixed in: (no value)



Subject: `make test` fails
Download (untitled) / with headers
text/plain 2.4k
`perl -Ilib t/message.t` is fine, `prove -Ilib -r t` works fine, replacing Makefile.PL with a Build.PL and `./Build test` works fine. no idea what MakeMaker (6.62) is doing, but it appears to be getting something wrong with the environment. Worse, it looks like MakeMaker 6.56 doesn't have this problem (so maybe you want to move the bug to that queue.) t/message.t ............. 1/129 # Test 94 got: <UNDEF> (t/message.t at line 368) # Expected: "\x{FEFF}Hi there \x{263A}\n" # t/message.t line 368 is: ok(sub { eval { $m->decoded_content } }, "\x{FEFF}Hi there \x{263A}\n"); # Failed test 97 in t/message.t at line 373 # t/message.t line 373 is: ok($m2->decode); # Test 98 got: "gzip, base64" (t/message.t at line 374) # Expected: <UNDEF> # t/message.t line 374 is: ok($m2->header("Content-Encoding"), undef); # Test 99 got: "H4sICFWAq0ECA3h4eAB7v3u/R6ZCSUZqUarCoxm7uAAZKHXiEAAAAA==\n" (t/message.t at line 375) # Expected: "(?-xism:Hi there)" # t/message.t line 375 is: ok($m2->content, qr/Hi there/); # Failed test 100 in t/message.t at line 377 # t/message.t line 377 is: ok(grep { $_ eq "gzip" } $m->decodable); # Test 101 got: <UNDEF> (t/message.t at line 383) # Expected: "\x{FEFF}Hi there \x{263A}\n" # t/message.t line 383 is: ok(sub { eval { $m->decoded_content } }, "\x{FEFF}Hi there \x{263A}\n"); Attempt to reload Compress/Raw/Zlib.pm aborted. Compilation failed in require at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm line 9. BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm line 9. Compilation failed in require at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12. BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12. Compilation failed in require at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9. BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9. Compilation failed in require at /export/home/ewilhelm/HTTP-Message- 6.04/blib/lib/HTTP/Message.pm line 479. t/message.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 21/129 subtests t/request.t ............. 1/11 # Failed test 3 in t/request.t at line 16 # t/request.t line 16 is: ok($req->header("Accept-Encoding") =~ /\bgzip\b/); # assuming IO::Uncompress::Gunzip is there t/request.t ............. Failed 1/11 subtests


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.