Subject: | Installation Errors |
Date: | Sun, 16 Sep 2007 13:54:46 -0700 (PDT) |
To: | bug-Catalyst-Plugin-FormCanary [...] rt.cpan.org |
From: | Dennis Daupert <ddaupert [...] sbcglobal.net> |
Hi Jonathan,
c-p-formcanary misses several tests, will not install.
I do not know whether it is safe to force install?
I'll include the test errors.
My system:
$ perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
uname -a
Linux bigtux 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.7)
- Test::Exception ...loaded. (0.21)
- ok ...loaded. (0.01)
- Catalyst::Plugin::Session::Store::Dummy ...loaded. (0)
- Catalyst::Plugin::Session::State::Cookie ...loaded. (0.02)
- Catalyst ...loaded. (5.7010)
- Catalyst::Plugin::Session ...loaded. (0.05)
*** Module::AutoInstall configuration finished.
Writing Makefile for Catalyst::Plugin::FormCanary
cp lib/Catalyst/Plugin/FormCanary.pm blib/lib/Catalyst/Plugin/FormCanary.pm
Manifying blib/man3/Catalyst::Plugin::FormCanary.3pm
JROCKWAY/Catalyst-Plugin-FormCanary-0.01.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/boilerplate.t t/canary-insertion.t t/check-canary.t t/pod.t t/session-is-required.t
t/00-load................# Testing Catalyst::Plugin::FormCanary 0.01, Perl 5.008008, /usr/bin/perl
t/00-load................ok
t/boilerplate............ok
t/canary-insertion.......ok 1/9
# Failed test 'one_form is modified'
# at t/canary-insertion.t line 17.
# '<html>
# <head><title>Test</title></head>
# <body>
# <h1>Hello</h1>
# <p>This is a test page. If you are seeing this you are weird.</p>
# <form action="who cares" method="also not relevant">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# </body>
# </html>
# '
# ne
# '<html>
# <head><title>Test</title></head>
# <body>
# <h1>Hello</h1>
# <p>This is a test page. If you are seeing this you are weird.</p>
# <form action="who cares" method="also not relevant">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# </body>
# </html>
# '
# Failed test 'contains canary'
# at t/canary-insertion.t line 18.
# got: "<html>\x{0a}<head><title>Test</title></head>\x{0a}<body>\x{0a} <h"...
# length: 268
# doesn't match '(?-xism:name="canary_[^"]+")'
t/canary-insertion.......NOK 6/9
# Failed test 'two_forms is modified'
# at t/canary-insertion.t line 22.
# '<html>
# <head><title>Test</title></head>
# <body>
# <h1>Hello</h1>
# <p>This is a test page. If you are seeing this you are weird.</p>
# <form action="who cares" method="also not relevant">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# <form action="another" method="POST">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# </body>
# </html>
# '
# ne
# '<html>
# <head><title>Test</title></head>
# <body>
# <h1>Hello</h1>
# <p>This is a test page. If you are seeing this you are weird.</p>
# <form action="who cares" method="also not relevant">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# <form action="another" method="POST">
# <input type="hidden" name="foo" value="foo" id="foo" />
# </form>
# </body>
# </html>
# '
# Failed test 'contains 2 canaries'
# at t/canary-insertion.t line 23.
# got: "<html>\x{0a}<head><title>Test</title></head>\x{0a}<body>\x{0a} <h"...
# length: 374
# doesn't match '(?s-xim:(name="canary_[^"]+").*\1)'
# Looks like you failed 4 tests of 9.
t/canary-insertion.......dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 5-6, 8-9
Failed 4/9 tests, 55.56% okay
t/check-canary...........NOK 2/13
# Failed test 'got canary key'
# at t/check-canary.t line 22.
t/check-canary...........NOK 3/13
# Failed test 'got canary value'
# at t/check-canary.t line 23.
Use of uninitialized value in concatenation (.) or string at t/check-canary.t line 29.
Use of uninitialized value in concatenation (.) or string at t/check-canary.t line 29.
# Failed test 'but when canary is provided, all is well'
# at t/check-canary.t line 29.
# 500
# Internal Server Error
Use of uninitialized value in concatenation (.) or string at t/check-canary.t line 33.
Use of uninitialized value in concatenation (.) or string at t/check-canary.t line 33.
# Failed test 'got canary key'
# at t/check-canary.t line 48.
# Failed test 'got canary value'
# at t/check-canary.t line 49.
Use of uninitialized value in concatenation (.) or string at t/check-canary.t line 51.
t/check-canary...........NOK 11/13# Looks like you failed 5 tests of 13.
t/check-canary...........dubious
Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 2-3, 6, 10-11
Failed 5/13 tests, 61.54% okay
t/pod....................ok
t/session-is-required....ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/canary-insertion.t 4 1024 9 4 5-6 8-9
t/check-canary.t 5 1280 13 5 2-3 6 10-11
Failed 2/6 test scripts. 9/31 subtests failed.
Files=6, Tests=31, 1 wallclock secs ( 0.80 cusr + 0.14 csys = 0.94 CPU)
Failed 2/6 test programs. 9/31 subtests failed.
make: *** [test_dynamic] Error 255
JROCKWAY/Catalyst-Plugin-FormCanary-0.01.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JROCKWAY/Catalyst-Plugin-FormCanary-0.01.tar.gz: make_test NO
/dennis