Skip Menu |

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

Report information
The Basics
Id: 47416
Status: resolved
Priority: 0/
Queue: HTTP-Response-Encoding

People
Owner: Nobody in particular
Requestors: joakim.lagerqvist [...] gmail.com
Cc:
AdminCc:

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



Subject: Test failed for HTTP-Response-Encoding-0.05
Date: Sun, 28 Jun 2009 11:46:46 -0500
To: bug-http-response-encoding [...] rt.cpan.org
From: Joakim Lagerqvist <joakim.lagerqvist [...] gmail.com>
Hello, I have just tried to make your distribution "HTTP::Response::Encoding::0.05" but it fails for one test file. I am running Mac OS X with Perl v5.10.0 (please let me know if I can provide any other information) this is the test result: $ make test PERL_DL_NONLAZY=1 /usr/local/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.010000, /usr/local/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' # 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 .. ok 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=19, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.24 cusr 0.04 csys = 0.33 CPU) Result: FAIL Failed 1/5 test programs. 8/19 subtests failed. make: *** [test_dynamic] Error 255 best regards, Joakim Lagerqvist
The same happens on 5.10-maint branch that is going to be 5.10.1 soon. -- Best regards, Ruslan.
Looks like it's problem with LWP. I've upgraded LWP from 5.826 to 5.829 and tests fail on perl 5.8.9 as well. -- Best regards, Ruslan.
Created bug report: https://rt.cpan.org/Ticket/Display.html?id=47784 -- Best regards, Ruslan.
Resolved in 0.06. Thank you for your report. Dan the Maintainer Thereof On Sun Jun 28 12:47:33 2009, joakim.lagerqvist@gmail.com wrote: Show quoted text
> Hello, > > I have just tried to make your distribution > "HTTP::Response::Encoding::0.05" but it fails for one test file. I am > running Mac OS X with Perl v5.10.0 (please let me know if I can > provide any other information) this is the test result: > > $ make test > PERL_DL_NONLAZY=1 /usr/local/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.010000, /usr/local/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' > > # 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 .. ok > 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=19, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.24 cusr > 0.04 csys = 0.33 CPU) > Result: FAIL > Failed 1/5 test programs. 8/19 subtests failed. > make: *** [test_dynamic] Error 255 > > best regards, > Joakim Lagerqvist