Subject: | HTTP::Response::Encoding-0.05 all t/01-file.t tests fail |
Date: | Tue, 23 Jun 2009 08:08:35 -0500 |
To: | bug-HTTP-Response-Encoding [...] rt.cpan.org |
From: | David Favor <david [...] davidfavor.com> |
net2#PERL_DL_NONLAZY=1 /runtime/perl-5.10.0-1342/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/01-file.t
t/01-file.t ..
1..13
ok 1 - HTTP::Response->can('charset')
ok 2 - HTTP::Response->can('encoder')
ok 3 - HTTP::Response->can('encoding')
ok 4 - HTTP::Response->can('decoded_content')
not ok 5 - $res->charset eq 'EUC-JP'
# Failed test '$res->charset eq 'EUC-JP''
# at t/01-file.t line 49.
# got: undef
# expected: 'EUC-JP'
not ok 6 - $res->encoding eq 'euc-jp'
# Failed test '$res->encoding eq 'euc-jp''
# at t/01-file.t line 51.
# got: undef
# expected: 'euc-jp'
not ok 7 - $res->charset eq 'ISO-2022-JP'
# Failed test '$res->charset eq 'ISO-2022-JP''
# at t/01-file.t line 49.
# got: undef
# expected: 'ISO-2022-JP'
not ok 8 - $res->encoding eq 'iso-2022-jp'
# Failed test '$res->encoding eq 'iso-2022-jp''
# at t/01-file.t line 51.
# got: undef
# expected: 'iso-2022-jp'
not ok 9 - $res->charset eq 'Shift_JIS'
# Failed test '$res->charset eq 'Shift_JIS''
# at t/01-file.t line 49.
# got: undef
# expected: 'Shift_JIS'
not ok 10 - $res->encoding eq 'shiftjis'
# Failed test '$res->encoding eq 'shiftjis''
# at t/01-file.t line 51.
# got: undef
# expected: 'shiftjis'
not ok 11 - $res->charset eq 'UTF-8'
# Failed test '$res->charset eq 'UTF-8''
# at t/01-file.t line 49.
# got: undef
# expected: 'UTF-8'
not ok 12 - $res->encoding eq 'utf-8-strict'
# Failed test '$res->encoding eq 'utf-8-strict''
# at t/01-file.t line 51.
# got: undef
# expected: 'utf-8-strict'
ok 13 - res->encoding eq undef
# Looks like you failed 8 tests of 13.
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/13 subtests
Test Summary Report
-------------------
t/01-file.t (Wstat: 2048 Tests: 13 Failed: 8)
Failed tests: 5-12
Non-zero exit status: 8
Files=1, Tests=13, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.18 cusr 0.01 csys = 0.23 CPU)
Result: FAIL
Failed 1/1 test programs. 8/13 subtests failed.
_____
net2#perldetail
System : Linux 2.6.27.21-170.2.56.fc10.i686
perl : /runtime/perl-5.10.0-1342/bin/perl (5.10.0)
Linux::Inotify2 : 1.2
DBI : 1.609
DBD::SQLite : 1.25
SQLite::DBMS : 3.6.13
Danga::Socket : 1.61 w/epoll
EV : 3.6
AnyEvent : 4.411
AnyEvent::HTTPD : 0.04
Coro : 5.132
Sys::Syscall : 0.22
IO::Compress::Bzip2 : 2.020
IO::Compress::Base : 2.020
version : 0.76
Class::MOP : 0.87
Template : 2.20
Test::Simple : 0.88
Test::More : 0.88
Test::Unit::Lite : 0.12
Test::Builder::Tester : 1.18
Pod::Simple : 3.07
Pod::Man : 2.22
Sys::Syslog : 0.27
LWP::UserAgent : 5.827
WWW::Mechanize : 1.54
Proc::NiceSleep : 0.85
Show quoted text
_______
net2#perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Commit id: c09d26c405f109be79e3487f71a3b134d4f9bc04
Platform:
osname=linux, osvers=2.6.27.21-170.2.56.fc10.i686, archname=i686-linux-thread-multi
uname='linux net2.coolsurf.com 2.6.27.21-170.2.56.fc10.i686 #1 smp mon mar 23 23:37:54 edt 2009
i686 i686 i386 gnulinux '
config_args='-Dprefix=/runtime/perl-5.10.0-1342 -ders -Dusedevel -Dcf_by=David Favor
-Dcf_email=david@davidfavor.com -Dperladmin=david@davidfavor.com -Dcc=gcc -Doptimize=-O2 -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic
-Dloclibpth=/usr/local/lib -Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Uuseithreads
-Duselargefiles -Dd_dosuid -Dd_semctl_semun
-Dotherlibdirs=/runtime/pmlib:/common/pmlib:/usr/local/pmlib -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow
-Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32
-fstack-protector -mtune=generic ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
ccversion='', gccversion='4.3.2 20081105 (Red Hat 4.3.2-7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.9'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/runtime/perl-5.10.0-1342/lib/5.10.0/i686-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under linux
Compiled at Jun 22 2009 18:43:18
@INC:
/runtime/perl-5.10.0-1342/lib/5.10.0/i686-linux-thread-multi
/runtime/perl-5.10.0-1342/lib/5.10.0
/runtime/perl-5.10.0-1342/lib/site_perl/5.10.0/i686-linux-thread-multi
/runtime/perl-5.10.0-1342/lib/site_perl/5.10.0
/runtime/pmlib
/common/pmlib
/usr/local/pmlib
.
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!