Subject: | test failed , cpan wont install without force |
tried to install using cpan, but it wont install without force:
Removing previously used /root/.cpan/build/Class-DBI-AsForm-2.42
CPAN.pm: Going to build T/TM/TMTM/Class-DBI-AsForm-2.42.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::DBI::AsForm
cp lib/Class/DBI/AsForm.pm blib/lib/Class/DBI/AsForm.pm
Manifying blib/man3/Class::DBI::AsForm.3pm
/usr/bin/make -j3 -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01..............ok 1/4
t/01..............NOK 3# Failed test 'Select OK'
# in t/01.t at line 43.
# got: '<select name="bar"><option value="1">Hi</option></select>
# '
# expected: '<select name="bar"><option value=1>Hi</option></select>
# '
# Failed test 'All correct as an object method'
# in t/01.t at line 54.
t/01..............NOK 4# Structures begin differing at:
# $got->{bar} = '<select name="bar"><option selected
value="1">Hi</option></select>
# '
# $expected->{bar} = '<select name="bar"><option selected
value=1>Hi</option></select>
# '
# Looks like you failed 2 tests of 4.
t/01..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD
coverage
t/pod.............skipped
all skipped: Test::Pod 1.00 required for testing POD
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01.t 2 512 4 2 50.00% 3-4
2 tests skipped.
Failed 1/3 test scripts, 66.67% okay. 2/4 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
----------------
seems like value=1 in select box isn't quoted.
alfarid