Subject: | Bug Report - LWP::UserAgent |
Date: | Fri, 19 Jun 2009 15:03:20 +0100 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | Heather Keen <heather.keen [...] rokent.com> |
Hi,
I'd like to report a problem with v5.827 of LWP::UserAgent please.
My installation is : Perl v5.8.8 on Centos 5.3 (2.6.18-128.1.10.el5 i386)
Since version 5.827 of LWP::UserAgent has been released, the "make test"
of HTTP::Response::Encoding fails with the following error message:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing HTTP::Response::Encoding 0.05, Perl
5.008008, /usr/bin/perl
t/00-load.t ....... ok
t/01-file.t ....... 1/13
# Failed test '$res->charset eq 'EUC-JP''
# at t/01-file.t line 49.
# got: undef
# expected: 'EUC-JP'
t/01-file.t ....... 6/13
# Failed test '$res->encoding eq 'euc-jp''
# at t/01-file.t line 51.
# got: undef
# expected: 'euc-jp'
# Failed test '$res->charset eq 'ISO-2022-JP''
# at t/01-file.t line 49.
# got: undef
# expected: 'ISO-2022-JP'
# Failed test '$res->encoding eq 'iso-2022-jp''
# at t/01-file.t line 51.
# got: undef
# expected: 'iso-2022-jp'
# Failed test '$res->charset eq 'Shift_JIS''
# at t/01-file.t line 49.
# got: undef
# expected: 'Shift_JIS'
# Failed test '$res->encoding eq 'shiftjis''
# at t/01-file.t line 51.
# got: undef
# expected: 'shiftjis'
# Failed test '$res->charset eq 'UTF-8''
# at t/01-file.t line 49.
# got: undef
# expected: 'UTF-8'
# Failed test '$res->encoding eq 'utf-8-strict''
# at t/01-file.t line 51.
# got: undef
# expected: 'utf-8-strict'
# Looks like you failed 8 tests of 13.
t/01-file.t ....... Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/13 subtests
t/boilerplate.t ... ok
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for
testing POD coverage
t/pod.t ........... ok
Test Summary Report
-------------------
t/01-file.t (Wstat: 2048 Tests: 13 Failed: 8)
Failed tests: 5-12
Non-zero exit status: 8
Files=5, Tests=18, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.40 cusr
0.06 csys = 0.54 CPU)
Result: FAIL
Failed 1/5 test programs. 8/18 subtests failed.
make: *** [test_dynamic] Error 255
It worked fine when I was using v5.826 of LWP::Protocol.
Help please! :)
Kind regards,
Heather Keen