Subject: | `make test` fails |
`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