lap# cpan cpan shell -- CPAN exploration and modules installation (v1.9456) Enter 'h' for help. cpan[6]> install CatalystX::CMS Running install for module 'CatalystX::CMS' Running make for K/KA/KARMAN/CatalystX-CMS-0.010.tar.gz Checksum for /tmp/.cpan/sources/authors/id/K/KA/KARMAN/CatalystX-CMS-0.010.tar.gz ok CatalystX-CMS-0.010/ CatalystX-CMS-0.010/Changes CatalystX-CMS-0.010/lib/ CatalystX-CMS-0.010/Makefile.PL CatalystX-CMS-0.010/MANIFEST CatalystX-CMS-0.010/META.yml CatalystX-CMS-0.010/README CatalystX-CMS-0.010/t/ CatalystX-CMS-0.010/t/00-load.t CatalystX-CMS-0.010/t/01-cms.t CatalystX-CMS-0.010/t/MyCMS/ CatalystX-CMS-0.010/t/pod-coverage.t CatalystX-CMS-0.010/t/pod.t CatalystX-CMS-0.010/t/MyCMS/Changes CatalystX-CMS-0.010/t/MyCMS/lib/ CatalystX-CMS-0.010/t/MyCMS/Makefile.PL CatalystX-CMS-0.010/t/MyCMS/mycms.yml CatalystX-CMS-0.010/t/MyCMS/README CatalystX-CMS-0.010/t/MyCMS/root/ CatalystX-CMS-0.010/t/MyCMS/script/ CatalystX-CMS-0.010/t/MyCMS/script/mycms_cgi.pl CatalystX-CMS-0.010/t/MyCMS/script/mycms_create.pl CatalystX-CMS-0.010/t/MyCMS/script/mycms_fastcgi.pl CatalystX-CMS-0.010/t/MyCMS/script/mycms_server.pl CatalystX-CMS-0.010/t/MyCMS/script/mycms_test.pl CatalystX-CMS-0.010/t/MyCMS/root/static/ CatalystX-CMS-0.010/t/MyCMS/root/static/favicon.ico CatalystX-CMS-0.010/t/MyCMS/root/static/images/ CatalystX-CMS-0.010/t/MyCMS/root/static/images/catalyst_logo.png CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/ CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS.pm CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Controller/ CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Model/ CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/View/ CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/View/CMS.pm CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Model/CMS.pm CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Controller/CMS.pm CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Controller/Foo.pm CatalystX-CMS-0.010/t/MyCMS/lib/MyCMS/Controller/Root.pm CatalystX-CMS-0.010/lib/Catalyst/ CatalystX-CMS-0.010/lib/CatalystX/ CatalystX-CMS-0.010/lib/CatalystX/CMS/ CatalystX-CMS-0.010/lib/CatalystX/CMS.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/Action.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/Controller.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/File.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/Model.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/Page.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/Tutorial.pod CatalystX-CMS-0.010/lib/CatalystX/CMS/View.pm CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/static/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/static/css/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/static/js/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/static/js/cms.js CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/static/css/cms.css CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/error.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/new_file.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrapper.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/yui/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/yui/base.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/yui/editor.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/default/ CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/head_maker.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/default/body.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/default/footer.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/default/header.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/default/wrapper.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/body.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/cms_header.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/footer.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/header.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/logger.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/wrapper.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/yui_header.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/blame.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/diff.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/history.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/links.tt CatalystX-CMS-0.010/lib/CatalystX/CMS/tt/cms/svn/list.tt CatalystX-CMS-0.010/lib/Catalyst/Action/ CatalystX-CMS-0.010/lib/Catalyst/Helper/ CatalystX-CMS-0.010/lib/Catalyst/Helper/Controller/ CatalystX-CMS-0.010/lib/Catalyst/Helper/Model/ CatalystX-CMS-0.010/lib/Catalyst/Helper/View/ CatalystX-CMS-0.010/lib/Catalyst/Helper/View/CMS.pm CatalystX-CMS-0.010/lib/Catalyst/Helper/Model/CMS.pm CatalystX-CMS-0.010/lib/Catalyst/Helper/Controller/CMS.pm CatalystX-CMS-0.010/lib/Catalyst/Action/CMS.pm CPAN.pm: Going to build K/KA/KARMAN/CatalystX-CMS-0.010.tar.gz Checking if your kit is complete... Looks good Writing Makefile for CatalystX::CMS cp lib/CatalystX/CMS/tt/cms/wrappers/html/head_maker.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/head_maker.tt cp lib/CatalystX/CMS/tt/cms/yui/base.tt blib/lib/CatalystX/CMS/tt/cms/yui/base.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/default/header.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/default/header.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/default/body.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/default/body.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/default/footer.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/default/footer.tt cp lib/CatalystX/CMS/tt.pm blib/lib/CatalystX/CMS/tt.pm cp lib/CatalystX/CMS/tt/cms/new_file.tt blib/lib/CatalystX/CMS/tt/cms/new_file.tt cp lib/CatalystX/CMS/Action.pm blib/lib/CatalystX/CMS/Action.pm cp lib/CatalystX/CMS/Model.pm blib/lib/CatalystX/CMS/Model.pm cp lib/CatalystX/CMS/Page.pm blib/lib/CatalystX/CMS/Page.pm cp lib/CatalystX/CMS/tt/cms/svn/blame.tt blib/lib/CatalystX/CMS/tt/cms/svn/blame.tt cp lib/Catalyst/Action/CMS.pm blib/lib/Catalyst/Action/CMS.pm cp lib/CatalystX/CMS/tt/cms/svn/history.tt blib/lib/CatalystX/CMS/tt/cms/svn/history.tt cp lib/CatalystX/CMS/tt/cms/svn/links.tt blib/lib/CatalystX/CMS/tt/cms/svn/links.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/header.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/header.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/logger.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/logger.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/cms_header.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/cms_header.tt cp lib/CatalystX/CMS/tt/cms/yui/editor.tt blib/lib/CatalystX/CMS/tt/cms/yui/editor.tt cp lib/Catalyst/Helper/Model/CMS.pm blib/lib/Catalyst/Helper/Model/CMS.pm cp lib/CatalystX/CMS/tt/cms/svn/diff.tt blib/lib/CatalystX/CMS/tt/cms/svn/diff.tt cp lib/CatalystX/CMS/tt/cms/error.tt blib/lib/CatalystX/CMS/tt/cms/error.tt cp lib/CatalystX/CMS/tt/cms/svn/list.tt blib/lib/CatalystX/CMS/tt/cms/svn/list.tt cp lib/CatalystX/CMS/tt/static/css/cms.css blib/lib/CatalystX/CMS/tt/static/css/cms.css cp lib/CatalystX/CMS/tt/cms/wrappers/html/default/wrapper.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/default/wrapper.tt cp lib/CatalystX/CMS/View.pm blib/lib/CatalystX/CMS/View.pm cp lib/CatalystX/CMS.pm blib/lib/CatalystX/CMS.pm cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/yui_header.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/yui_header.tt cp lib/CatalystX/CMS/Controller.pm blib/lib/CatalystX/CMS/Controller.pm cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/footer.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/footer.tt cp lib/CatalystX/CMS/tt/cms/wrapper.tt blib/lib/CatalystX/CMS/tt/cms/wrapper.tt cp lib/CatalystX/CMS/File.pm blib/lib/CatalystX/CMS/File.pm cp lib/Catalyst/Helper/View/CMS.pm blib/lib/Catalyst/Helper/View/CMS.pm cp lib/Catalyst/Helper/Controller/CMS.pm blib/lib/Catalyst/Helper/Controller/CMS.pm cp lib/CatalystX/CMS/tt/static/js/cms.js blib/lib/CatalystX/CMS/tt/static/js/cms.js cp lib/CatalystX/CMS/Tutorial.pod blib/lib/CatalystX/CMS/Tutorial.pod cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/wrapper.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/wrapper.tt cp lib/CatalystX/CMS/tt/cms/wrappers/html/cms/body.tt blib/lib/CatalystX/CMS/tt/cms/wrappers/html/cms/body.tt Manifying blib/man3/CatalystX::CMS::Controller.3 Manifying blib/man3/CatalystX::CMS::File.3 Manifying blib/man3/CatalystX::CMS::tt.3 Manifying blib/man3/Catalyst::Helper::View::CMS.3 Manifying blib/man3/CatalystX::CMS::Page.3 Manifying blib/man3/CatalystX::CMS::Model.3 Manifying blib/man3/CatalystX::CMS::Action.3 Manifying blib/man3/Catalyst::Helper::Controller::CMS.3 Manifying blib/man3/Catalyst::Helper::Model::CMS.3 Manifying blib/man3/CatalystX::CMS::Tutorial.3 Manifying blib/man3/Catalyst::Action::CMS.3 Manifying blib/man3/CatalystX::CMS::View.3 Manifying blib/man3/CatalystX::CMS.3 KARMAN/CatalystX-CMS-0.010.tar.gz make -- OK Running make test PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 2/2 # Testing CatalystX::CMS 0.010 # Testing using Catalyst 5.89000 t/00-load.t ....... ok t/01-cms.t ........ [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded plugins: .---------------------------------------------------------------------------------. | Catalyst::Plugin::ConfigLoader 0.30 | '---------------------------------------------------------------------------------' [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS" [debug] Loaded Config "/tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/mycms.yml" [debug] CMS View inc path: .----------------------------------------------------------------------------. | /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root | | /tmp/cxcms/work | | lib/CatalystX/CMS/tt | '----------------------------------------------------------------------------' [debug] CMS Model inc path: .----------------------------------------------------------------------------. | /tmp/cxcms/work | | /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root | '----------------------------------------------------------------------------' [debug] Loaded components: .----------------------------------------------------------------------+----------. | Class | Type | +----------------------------------------------------------------------+----------+ | MyCMS::Controller::CMS | instance | | MyCMS::Controller::Foo | instance | | MyCMS::Controller::Root | instance | | MyCMS::Model::CMS | instance | | MyCMS::View::CMS | instance | '----------------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+-------------------. | Private | Class | Method | +----------------------+--------------------------------------+-------------------+ | /default | MyCMS::Controller::Root | default | | /end | MyCMS::Controller::Root | end | | /foo/bar | MyCMS::Controller::Foo | bar | | /foo/cms_list | MyCMS::Controller::Foo | cms_list | | /cms/page | MyCMS::Controller::CMS | page | | /cms/linked | MyCMS::Controller::CMS | linked | | /cms/cms_list | MyCMS::Controller::CMS | cms_list | | /cms/get | MyCMS::Controller::CMS | get | '----------------------+--------------------------------------+-------------------' [debug] Loaded Path actions: .----------------------------------------+----------------------------------------. | Path | Private | +----------------------------------------+----------------------------------------+ | /cms | /cms/page | | /cms/cms_list | /cms/cms_list | | /foo/bar | /foo/bar | | /foo/cms_list | /foo/cms_list | '----------------------------------------+----------------------------------------' [debug] Loaded Chained actions: .----------------------------------------+----------------------------------------. | Path Spec | Private | +----------------------------------------+----------------------------------------+ | /get/*/linked | /cms/get (1) | | | => /cms/linked | '----------------------------------------+----------------------------------------' [info] MyCMS powered by Catalyst 5.89000 Name "Template::Plugin::Handy::VMETHOD_PACKAGE" used only once: possible typo at /usr/pkg/lib/perl5/site_perl/5.12.0/Template/Plugin/VMethods.pm line 184. [info] *** Request 1 (0.333/s) [2717] [Sun Jun 12 23:15:40 2011] *** [debug] "GET" request for "cms/mypage" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | cxcms | create | '-------------------------------------+-------------------------------------------' [debug] Path is "cms" [debug] Arguments are "mypage" [debug] looking in /tmp/cxcms/work/html/default for mypage.tt [debug] looking in /tmp/cxcms/work for mypage.tt [debug] looking in /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root/html/default for mypage.tt [debug] looking in /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root for mypage.tt [debug] No absolute path for mypage.tt [debug] returning Model page: bless({ delegate => bless({ attrs => {}, dir => bless({ dirs => ["", "tmp", "cxcms", "work", "html", "default"], file_spec_class => undef, svn => "svn", volume => "", }, "SVN::Class::Dir"), ext => ".tt", file => "mypage.tt", file_spec_class => undef, svn => "svn", }, "CatalystX::CMS::File"), ext => ".tt", file => "mypage", flavour => "default", type => "html", url => "/cms/mypage", }, "CatalystX::CMS::Page") [debug] GET -> /tmp/cxcms/work/html/default/mypage.tt [debug] cms GET returned { body => "Bad HTTP request. Must POST to create a new CMS page.", status => 400, } [debug] Response Code: 400; Content-Type: text/html; charset=utf-8; Content-Length: 53 [info] Request took 0.025381s (39.400/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /end | 0.000608s | '-----------------------------------------------------------------+-----------' t/01-cms.t ........ 1/10 # Failed test 'may not GET to create' # at t/01-cms.t line 21. # got: undef # expected: '400' [info] *** Request 2 (0.667/s) [2717] [Sun Jun 12 23:15:40 2011] *** [debug] "POST" request for "cms/mypage" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | cxcms | create | '-------------------------------------+-------------------------------------------' [debug] Path is "cms" [debug] Arguments are "mypage" [debug] looking in /tmp/cxcms/work/html/default for mypage.tt [debug] looking in /tmp/cxcms/work for mypage.tt [debug] looking in /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root/html/default for mypage.tt [debug] looking in /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root for mypage.tt [debug] No absolute path for mypage.tt [debug] returning Model page: bless({ delegate => bless({ attrs => {}, dir => bless({ dirs => ["", "tmp", "cxcms", "work", "html", "default"], file_spec_class => undef, svn => "svn", volume => "", }, "SVN::Class::Dir"), ext => ".tt", file => "mypage.tt", file_spec_class => undef, svn => "svn", }, "CatalystX::CMS::File"), ext => ".tt", file => "mypage", flavour => "default", type => "html", url => "/cms/mypage", }, "CatalystX::CMS::Page") [debug] POST -> /tmp/cxcms/work/html/default/mypage.tt [debug] CMS user = anonymous [debug] cms POST returned { uri => bless(do{\(my $o = "http://localhost/cms/mypage?cxcms=edit")}, "URI::http"), } [debug] Redirecting to "http://localhost/cms/mypage?cxcms=edit" [debug] Response Code: 302; Content-Type: text/html; charset=utf-8; Content-Length: unknown [info] Request took 0.104589s (9.561/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /end | 0.000553s | '-----------------------------------------------------------------+-----------' # Failed test 'redirect on create' # at t/01-cms.t line 27. # got: undef # expected: '302' [info] *** Request 3 (1.000/s) [2717] [Sun Jun 12 23:15:40 2011] *** [debug] "GET" request for "cms/mypage" from "127.0.0.1" [debug] Path is "cms" [debug] Arguments are "mypage" [debug] looking in /tmp/cxcms/work/html/default for mypage.tt [debug] Found cms file: /tmp/cxcms/work/html/default/mypage.tt [debug] returning Model page: do { my $a = bless({ cms_root => bless({ dirs => ["", "tmp", "cxcms", "work"], file_spec_class => undef, volume => "", }, "Path::Class::Dir"), copy => "", delegate => bless({ attrs => { owner => "anonymous" }, content => "[ this is a new page ]\n", dir => bless({ dirs => ["", "tmp", "cxcms", "work", "html", "default"], file_spec_class => undef, svn => "svn", volume => "", }, "SVN::Class::Dir"), error => [ "svn: '/tmp/cxcms/work/html/default/mypage.tt' is not a working copy", ], error_code => "'svn diff /tmp/cxcms/work/html/default/mypage.tt' exited with value 1", ext => ".tt", file => "mypage.tt", file_spec_class => undef, stderr => 'fix', stdout => [], svn => "svn", }, "CatalystX::CMS::File"), ext => ".tt", file => "mypage", flavour => "default", type => "html", url => "/cms/mypage", }, "CatalystX::CMS::Page"); $a->{delegate}{stderr} = $a->{delegate}{error}; $a; } [debug] template = /tmp/cxcms/work/html/default/mypage.tt [debug] resetting template to mypage.tt [/tmp/cxcms/work/html/default/mypage.tt] [debug] Rendering template "mypage.tt" [debug] View extra inc path: [ "/tmp/cxcms/work/html/default", "/tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root/html/default", ] [debug] cms_mode = 0 [debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: 695 [info] Request took 0.416100s (2.403/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /cms/page | 0.262064s | | /end | 0.147295s | | -> MyCMS::View::CMS->process | 0.145045s | '-----------------------------------------------------------------+-----------' t/01-cms.t ........ 5/10 # Failed test 'GET new page ok' # at t/01-cms.t line 35. # got: undef # expected: '200' [info] *** Request 4 (1.000/s) [2717] [Sun Jun 12 23:15:41 2011] *** [debug] "POST" request for "cms/mypage" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | cxcms | save | '-------------------------------------+-------------------------------------------' [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | text | cxcms test mypage | | x-tunneled-method | PUT | '-------------------------------------+-------------------------------------------' [debug] Path is "cms" [debug] Arguments are "mypage" [debug] looking in /tmp/cxcms/work/html/default for mypage.tt [debug] Found cms file: /tmp/cxcms/work/html/default/mypage.tt [debug] returning Model page: do { my $a = bless({ cms_root => bless({ dirs => ["", "tmp", "cxcms", "work"], file_spec_class => undef, volume => "", }, "Path::Class::Dir"), copy => "", delegate => bless({ attrs => { owner => "anonymous" }, content => "[ this is a new page ]\n", dir => bless({ dirs => ["", "tmp", "cxcms", "work", "html", "default"], file_spec_class => undef, svn => "svn", volume => "", }, "SVN::Class::Dir"), error => [ "svn: '/tmp/cxcms/work/html/default/mypage.tt' is not a working copy", ], error_code => "'svn diff /tmp/cxcms/work/html/default/mypage.tt' exited with value 1", ext => ".tt", file => "mypage.tt", file_spec_class => undef, stderr => 'fix', stdout => [], svn => "svn", }, "CatalystX::CMS::File"), ext => ".tt", file => "mypage", flavour => "default", type => "html", url => "/cms/mypage", }, "CatalystX::CMS::Page"); $a->{delegate}{stderr} = $a->{delegate}{error}; $a; } [debug] PUT -> /tmp/cxcms/work/html/default/mypage.tt [debug] CMS user = anonymous [debug] Action = save [debug] Validating content of /tmp/cxcms/work/html/default/mypage.tt [debug] CMS user = anonymous [debug] save returned 4 [debug] cms PUT returned { message => "Committed /cms/mypage as change 4", uri => bless(do{\(my $o = "http://localhost/cms/mypage")}, "URI::http"), } [debug] Redirecting to "http://localhost/cms/mypage" [debug] Response Code: 302; Content-Type: text/html; charset=utf-8; Content-Length: unknown [info] Request took 3.705928s (0.270/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /end | 0.000959s | '-----------------------------------------------------------------+-----------' t/01-cms.t ........ 7/10 # Failed test 'redirect on save' # at t/01-cms.t line 52. # got: undef # expected: '302' [info] *** Request 5 (0.625/s) [2717] [Sun Jun 12 23:15:45 2011] *** [debug] "GET" request for "cms/mypage" from "127.0.0.1" [debug] Path is "cms" [debug] Arguments are "mypage" [debug] looking in /tmp/cxcms/work/html/default for mypage.tt [debug] Found cms file: /tmp/cxcms/work/html/default/mypage.tt [debug] returning Model page: bless({ cms_root => bless({ dirs => ["", "tmp", "cxcms", "work"], file_spec_class => undef, volume => "", }, "Path::Class::Dir"), copy => "", delegate => bless({ attrs => { owner => "anonymous", title => "no title" }, content => "cxcms test mypage\n", dir => bless({ dirs => ["", "tmp", "cxcms", "work", "html", "default"], file_spec_class => undef, svn => "svn", volume => "", }, "SVN::Class::Dir"), error => "", error_code => undef, ext => ".tt", file => "mypage.tt", file_spec_class => undef, stderr => [], stdout => [], svn => "svn", }, "CatalystX::CMS::File"), ext => ".tt", file => "mypage", flavour => "default", type => "html", url => "/cms/mypage", }, "CatalystX::CMS::Page") [debug] template = /tmp/cxcms/work/html/default/mypage.tt [debug] resetting template to mypage.tt [/tmp/cxcms/work/html/default/mypage.tt] [debug] Rendering template "mypage.tt" [debug] View extra inc path: [ "/tmp/cxcms/work/html/default", "/tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf/t/MyCMS/root/html/default", ] [debug] cms_mode = 0 [debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: 693 [info] Request took 0.320872s (3.117/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /cms/page | 0.274271s | | /end | 0.039664s | | -> MyCMS::View::CMS->process | 0.037919s | '-----------------------------------------------------------------+-----------' # Looks like you failed 4 tests of 10. t/01-cms.t ........ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/10 subtests t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report ------------------- t/01-cms.t (Wstat: 1024 Tests: 10 Failed: 4) Failed tests: 2, 4, 6, 8 Non-zero exit status: 4 Files=4, Tests=37, 13 wallclock secs ( 0.05 usr 0.03 sys + 5.99 cusr 1.16 csys = 7.23 CPU) Result: FAIL Failed 1/4 test programs. 4/37 subtests failed. *** Error code 255 Stop in /tmp/.cpan/build/CatalystX-CMS-0.010-CJtsTf. KARMAN/CatalystX-CMS-0.010.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KARMAN/CatalystX-CMS-0.010.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: KARMAN/CatalystX-CMS-0.010.tar.gz : make_test NO cpan[7]>