f"
not ok 27 - ... validator returned error for foo # TODO Not implemented in Jifty yet
# Failed (TODO) test ' ... validator returned error for foo'
# at t/TestApp/t/06-validation.t line 70.
# searched: "You need "...
Done.
ok
ERROR - 404: user tried to get to etc/passwd
ERROR - 404: user tried to get to etc/passwd
ERROR - 404: user tried to get to etc/passwd
ERROR - 404: user tried to get to etc/passwd
ERROR - 404: user tried to get to templates/index.html
ERROR - 404: user tried to get to templates/_elements/nav
ERROR - 404: user tried to get to templates/_elements/nav
ERROR - 404: user tried to get to templates/index.html
ERROR - 404: user tried to get to templates/_elements/nav
t/TestApp/t/07-sandboxing.t ............................
1..79
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - Connected to host
ok 4 - Sent request ../../../../../../../../../etc/passwd
ok 5 - Didn't get a 200
ok 6 - Doesn't have a root user in it
ok 7 - Connected to host
ok 8 - Sent request /../../../../../../../../../etc/passwd
ok 9 - Didn't get a 200
ok 10 - Doesn't have a root user in it
ok 11 - Connected to host
ok 12 - Sent request /__jifty/../../../../../../../../../../etc/passwd
ok 13 - Didn't get a 200
ok 14 - Doesn't have a root user in it
ok 15 - Connected to host
ok 16 - Sent request /static/../../../../../../../../../../etc/passwd
ok 17 - Didn't get a 200
ok 18 - Doesn't have a root user in it
ok 19 - Connected to host
ok 20 - Sent request ../templates/index.html
ok 21 - Didn't get a 200
ok 22 - Doesn't have the source code
ok 23 - Connected to host
ok 24 - Sent request ../templates/_elements/nav
ok 25 - Didn't get a 200
ok 26 - Doesn't have the source
ok 27 - Connected to host
ok 28 - Sent request /static/../templates/_elements/nav
ok 29 - Didn't get a 200
ok 30 - Doesn't have the source
ok 31 - Connected to host
ok 32 - Sent request /static/css/../../templates/index.html
ok 33 - Didn't get a 200
ok 34 - Doesn't have the source
ok 35 - Connected to host
ok 36 - Sent request /static/css/../../templates/_elements/nav
ok 37 - Didn't get a 200
ok 38 - Doesn't have the source
ok 39 - Connected to host
ok 40 - Sent request /static/css/base.css
ok 41 - Got a 200
ok 42 - Has content
ok 43 - Connected to host
ok 44 - Sent request /static/css/../css/base.css
ok 45 - Got a 200
ok 46 - Has content
ok 47 - Connected to host
ok 48 - Sent request /static/css//../css/base.css
ok 49 - Got a 200
ok 50 - Has content
ok 51 - Connected to host
ok 52 - Sent request /somedir/stuff
ok 53 - Got a 200
ok 54 - Has the content
ok 55 - Connected to host
ok 56 - Sent request /somedir/stuff/../things
ok 57 - Got a 200
ok 58 - Has the right content
ok 59 - Connected to host
ok 60 - Sent request __jifty/webservices/yaml
ok 61 - Got a 200
ok 62 - Got correct YAML response
ok 63 - Connected to host
ok 64 - Sent request /__jifty//../__jifty/webservices/yaml
ok 65 - Got a 200
ok 66 - Got correct YAML response
ok 67 - Connected to host
ok 68 - Sent request /__jifty/webservices/../webservices/yaml
ok 69 - Got a 200
ok 70 - Got correct YAML response
ok 71 - Connected to host
ok 72 - Sent request ///__jifty/webservices/yaml
ok 73 - Got a 200
ok 74 - Got correct YAML response
ok 75 - Connected to host
ok 76 - Sent request /__jifty/../index.html
ok 77 - Got a 200
ok 78 - Doesn't have the source code
ok 79 - Has the output
Done.
ok
t/TestApp/t/08-notifications.t .........................
1..4
ok 1 - use Jifty::Notification;
ok 2 - use Email::MIME::CreateHTML;
ok 3 - use Email::MIME;
ok 4 - use Email::Send;
Done.
ok
t/TestApp/t/09-redirect.t ..............................
1..6
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - Got redirect
ok 4 - Filled in action go
ok 5
ok 6 - At index
Done.
ok
Use of uninitialized value $_[1] in stat at /home/cpanfly/var/megalib/Module/Refresh.pm line 151.
t/TestApp/t/10-compress.t ..............................
1..5
ok 1 - started server
ok 2 - GET http://localhost:14033
ok 3
ok 4 # skip blah
ok 5 # skip blah
Done.
ok
t/TestApp/t/11-current_user.t ..........................
1..33
ok 1 - use TestApp::Model::User;
ok 2 - use TestApp::CurrentUser;
ok 3 - Found a system user
ok 4 - New user has valid id set
ok 5 - User is not tasty
ok 6 - New user has valid id set
ok 7 - User is tasty
ok 8 - User's created_on date is in the floating timezone
ok 9 - Jifty::DateTime::now defaults to UTC (superuser has no user_object)
ok 10 - set_current_user_timezone defaults to the passed in timezone
ok 11 - set_current_user_timezone defaults to UTC if no passed in timezone
ok 12 - email initially set correctly
ok 13 - email updated correctly
ok 14 - CurrentUser has a valid id set
ok 15 - The ids match
ok 16 - The CurrentUser is tasty
ok 17 - CurrentUser is a superuser
ok 18 - email from before
ok 19 - email updated correctly
ok 20 - User's created_on date is in the floating timezone
ok 21 - Jifty::DateTime::now correctly peers into current_user->user_object->time_zone
ok 22 - setting up other tests
ok 23 - set_current_user_timezone correctly gets the user's timezone
ok 24 - set_current_user_timezone uses the user's in timezone even if one is passed in
ok 25 - from_epoch correctly gets the user's timezone
ok 26 - The object isa Jifty::Server
ok 27 - started server
ok 28 - Got currentuser page
ok 29 - Good, no current user yet
ok 30 - Setting currentuser to Bob
ok 31 - Refetched currentuser page
ok 32 - Now the current_user is set
ok 33 - ... and the current_user is a superuser
Done.
ok
t/TestApp/t/12-search.t ................................
1..53
ok 1 - Created one user
ok 2 - Created another user
ok 3 - Created a third user
ok 4 - The object isa Jifty::Action::Record::Search
ok 5 - Can search on name
ok 6 - Fields aren't mandatory
ok 7 - Can search on email
ok 8 - Can search on tastiness
ok 9 - Can search on created_on
ok 10 - Can't search on password
ok 11 - The object isa Jifty::Collection
ok 12
ok 13
ok 14 - The object isa Jifty::Collection
ok 15
ok 16
ok 17 - The object isa Jifty::Collection
ok 18
ok 19
ok 20 - The object isa Jifty::Collection
ok 21
ok 22
ok 23 - The object isa Jifty::Collection
ok 24
ok 25 - The object isa Jifty::Collection
ok 26
ok 27
ok 28 - The object isa Jifty::Collection
ok 29
ok 30
ok 31
ok 32 - The object isa Jifty::Collection
ok 33
ok 34
ok 35 - The object isa Jifty::Collection
ok 36
ok 37 - it's a test user
ok 38 - The object isa Jifty::Collection
ok 39
ok 40 - The object isa Jifty::Collection
ok 41
ok 42 - The object isa Jifty::Collection
ok 43
ok 44
ok 45 - The object isa Jifty::Collection
ok 46
ok 47
ok 48 - The object isa Jifty::Collection
ok 49
ok 50
ok 51
ok 52 - The object isa Jifty::Collection
ok 53 - found nothing
Done.
ok
t/TestApp/t/13-page-regions.t ..........................
1..39
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - GET http://localhost:14811/regions/list
ok 4 - Content contains "Short 1"
ok 5 - Content contains "Short 2"
ok 6 - Content contains "Short 3"
ok 7 - Content contains "Short 4"
ok 8 - Content contains "Short 5"
ok 9 - Found link: Short 1
ok 10
ok 11 - Content contains "Long 1"
ok 12 - Found link: Short 2
ok 13
ok 14 - Content contains "Long 2"
ok 15 - Found link: Short 3
ok 16
ok 17 - Content contains "Long 3"
ok 18 - Found link: Short 4
ok 19
ok 20 - Content contains "Long 4"
ok 21 - Found link: Short 5
ok 22
ok 23 - Content contains "Long 5"
ok 24 - Content contains "Long 1"
ok 25 - Content contains "Long 2"
ok 26 - Content contains "Long 3"
ok 27 - Content contains "Long 4"
ok 28 - Content contains "Long 5"
ok 29 - Found link Long 1
ok 30
ok 31 - Content contains "Short 1"
ok 32 - Content contains "Long 2"
ok 33 - Content lacks "Short 2"
ok 34 - Content contains "Long 3"
ok 35 - Content lacks "Short 3"
ok 36 - Content contains "Long 4"
ok 37 - Content lacks "Short 4"
ok 38 - Content contains "Long 5"
ok 39 - Content lacks "Short 5"
Done.
ok
t/TestApp/t/14-template-paths.t ........................
1..18
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - get 'http://localhost:13701: /path_test/foo'
ok 4 - found content '/path_test/foo - T::D'
ok 5 - get 'http://localhost:13701: /path_test/foo/'
ok 6 - found content '/path_test/foo - T::D'
ok 7 - get 'http://localhost:13701: /path_test/foo/index.html'
ok 8 - found content '/path_test/foo/index.html - Mason'
ok 9 - get 'http://localhost:13701: /path_test/bar'
ok 10 - found content '/path_test/bar/index.html - T::D'
ok 11 - get 'http://localhost:13701: /path_test/bar/index.html'
ok 12 - found content '/path_test/bar/index.html - T::D'
ok 13 - get 'http://localhost:13701: /path_test/in_both'
ok 14 - found content '/path_test/in_both - T::D'
ok 15 - get 'http://localhost:13701: /path_test/mason_only'
ok 16 - found content '/path_test/mason_only - Mason'
ok 17 - get 'http://localhost:13701: /path_test/td_only'
ok 18 - found content '/path_test/td_only - T::D'
Done.
ok
t/TestApp/t/15-template-subclass.t .....................
1..16
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /entry.html'
ok 4 - found content '/entry.html=TestApp::View'
ok 5 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /base/list_s'
ok 6 - found content '/base/list=TestApp::View::base/base/view=TestApp::View::base/base/view=TestApp::View::base'
ok 7 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /base/list_ht'
ok 8 - found content '/base/list=TestApp::View::base/base/view=TestApp::View::base/base/view=TestApp::View::base'
ok 9 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /base/list_rg'
ok 10 - found content '/base/list=TestApp::View::base/base/view=TestApp::View::base
/base/view=TestApp::View::base
'
ok 11 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /instance/list_s'
ok 12 - found content '/base/list=TestApp::View::instance/instance/view=TestApp::View::instance/instance/view=TestApp::View::instance'
ok 13 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /instance/list_ht'
ok 14 - found content '/base/list=TestApp::View::instance/instance/view=TestApp::View::instance/instance/view=TestApp::View::instance'
ok 15 - get 'http://localhost:14882: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /instance/list_rg'
ok 16 - found content '/base/list=TestApp::View::instance/instance/view=TestApp::View::instance
/instance/view=TestApp::View::instance
'
Done.
ok
t/TestApp/t/16-template-region.t .......................
1..4
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - get 'http://localhost:11524: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t /foo/list'
ok 4 - found the test content
Done.
ok
t/TestApp/t/17-template-region-internal-redirect.t .....
1..7
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - GET http://localhost:11583/region-with-internal-redirect
ok 4 - Content is like "(?-xism:redirected ok)"
ok 5 - Content is like "(?-xism:other region)"
ok 6 - Content is like "(?-xism:still going)"
ok 7 - Content is like "(?-xism:sorry)"
Done.
ok
Subroutine main::get redefined at t/TestApp/t/18-test-www-declare.t line 15
t/TestApp/t/18-test-www-declare.t ......................
1..2
ok 1 - started server
ok 2 - region with internal redirects
Done.
ok
no_plan takes no arguments at /home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/blib/lib/Jifty/Test.pm line 121.
t/TestApp/t/19-rightsfrom.t ............................
ok 1 - use TestApp::Model::User;
ok 2 - use TestApp::Model::Thingy;
ok 3 - use TestApp::Model::OtherThingy;
ok 4 - use TestApp::CurrentUser;
ok 5 - Found a system user
ok 6 - New user has valid id set
ok 7 - Has the right name
ok 8 - New user has valid id set
ok 9 - Loaded the current user
ok 10 - Has the right id
ok 11 - User object is right
ok 12 - Name is consistent
ok 13 - Has an id
ok 14 - Has the right id
ok 15 - Can read the remote user
ok 16 - Can't read their name
ok 17 - New object has a valid id
ok 18 - Has right user
ok 19 - New object has a valid id
ok 20 - Has right user
ok 21 - Object has an id
ok 22 - Has the right id
ok 23 - I can read it
ok 24 - Has a value
ok 25 - Can read the value
ok 26 - Has a user isa TestApp::Model::User
ok 27 - Can read the user_id
ok 28 - Can read the user->id
ok 29 - Has the right user
ok 30 - Object has an id
ok 31 - Has the right id
ok 32 - I can't read it
ok 33 - Can't read the value
ok 34 - Has a user isa TestApp::Model::User
ok 35 - Can't read the user_id
not ok 36 - Can't read the user->id # TODO ACLs should apply to object refs, but can't
# Failed (TODO) test 'Can't read the user->id'
# at t/TestApp/t/19-rightsfrom.t line 86.
ok 37 - New object has a valid id
ok 38 - Has right user
ok 39 - New object has a valid id
ok 40 - Has right user
ok 41 - Object has an id
ok 42 - Has the right id
ok 43 - I can read it
ok 44 - Has a value
ok 45 - Can read the value
ok 46 - Has a user isa TestApp::Model::User
ok 47 - Can read the user_id
ok 48 - Can read the user->id
ok 49 - Has the right user
ok 50 - Object has an id
ok 51 - Has the right id
ok 52 - I can't read it
ok 53 - Can't read the value
ok 54 - Has a user isa TestApp::Model::User
ok 55 - Can't read the user_id
not ok 56 - Can't read the user->id # TODO ACLs should apply to object refs, but can't
# Failed (TODO) test 'Can't read the user->id'
# at t/TestApp/t/19-rightsfrom.t line 86.
Done.
1..56
ok
FATAL - view class error: Can't locate object method "non_existant_method" via package "Jifty::Web" at /home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/template-with-error line 5.
Stack:
[/home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/template-with-error:5]
[/home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/_elements/wrapper:16]
[/home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/template-with-error:8]
[/home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/blib/lib/auto/Jifty/web/templates/autohandler:12]
Can't use 'title is' when mixing mason and TD at /home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/_elements/wrapper line 16
t/TestApp/t/20-error-pages.t ...........................
1..10
ok 1 - Loaded the test script
ok 2 - The object isa Jifty::Server
ok 3 - started server
ok 4 - GET http://localhost:10366/template-with-error
ok 5 - Base is like "(?-xism:mason_internal_error)"
ok 6 - Content is like "(?-xism:locate object method .*?non_existant_method.*?)"
ok 7 - Content is like "(?-xism:template-with-error line 5)"
ok 8 - Have a continuation
ok 9 - Have an error set
ok 10 - Error is a reference isa HTML::Mason::Exception
Done.
ok
t/TestApp/t/21-js-arguments.t ..........................
1..6
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - Got right page
ok 4 - Filled in action say_hi
ok 5
ok 6 - Contains right result
Done.
ok
ERROR - 0 tried to create a TestApp::Model::User without permission
t/TestApp/t/before_access.t ............................
1..4
ok 1 - use TestApp::Model::User;
ok 2 - Found a system user
ok 3 - User could not be created
ok 4 - User could be created
Done.
ok
t/TestApp/t/config/01-basic.t ..........................
1..7
ok 1 - default test config still exists
ok 2 - the same value merges correctly
ok 3 - options from etc/site_config.yml loaded
ok 4 - options from etc/config.yml loaded
ok 5 - options from t/test_config.yml loaded
ok 6 - options from t/config/test_config.yml loaded
ok 7 - options from t/config/02-individual.t-config.yml NOT loaded
Done.
ok
t/TestApp/t/config/02-individual.t .....................
1..7
ok 1 - default test config still exists
ok 2 - the same value merges correctly
ok 3 - options from etc/site_config.yml loaded
ok 4 - options from etc/config.yml loaded
ok 5 - options from t/config/02-individual.t-config.tml loaded
ok 6 - options from t/test_config.yml loaded
ok 7 - options from t/config/test_config.yml loaded
Done.
ok
t/TestApp/t/config/03-nosubtest.t ......................
1..7
ok 1 - default test config still exists
ok 2 - the same value merges correctly
ok 3 - options from t/test_config.yml loaded
ok 4 - options from t/config/test_config.yml loaded
ok 5 - options from etc/site_config.yml NOT loaded
ok 6 - options from etc/config.yml NOT loaded
ok 7 - options from t/config/02-individual.t-config.yml NOT loaded
Done.
ok
Can't use 'title is' when mixing mason and TD at /home/cpanfly/var/cpan/build/Jifty-0.80408-7ZnGiP/t/TestApp/share/web/templates/_elements/wrapper line 16
Use of uninitialized value $args{"current_page"} in subtraction (-) at /home/cpanfly/var/megalib/Jifty/DBI/Collection.pm line 1855.
t/TestApp/t/crud.t .....................................
1..3
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - GET http://localhost:12242/crud/User
Done.
ok
t/TestApp/t/i18n-standalone.t ..........................
1..20
ok 1 - The object isa Jifty::Server
ok 2 - started server
ok 3 - can access admin console
ok 4 - en works
ok 5 - can access concrete
ok 6 - en works for an unknown string
ok 7 - can access concrete
ok 8 - en works for an unknown string
ok 9 - can access admin console
ok 10 - ja works
ok 11 - can access concrete
ok 12 - ja works for an unknown string
ok 13 - can access concrete
ok 14 - en works for an unknown string
ok 15 - can access admin console
ok 16 - fr locale works
ok 17 - can access admin console
ok 18 - zh-cn works
ok 19 - can access admin console
ok 20 - zh-tw works
Done.
ok
t/TestApp/t/instance_id.t ..............................
1..3
ok 1 - Loaded the test script
ok 2 - We have an instance id A74622C0-5914-11DE-BBEE-A32EF7EC4DD6
ok 3 - We have an instance id A74622C0-5914-11DE-BBEE-A32EF7EC4DD6
Done.
ok
ERROR - 404: user tried to get to *****
t/TestApp/t/regex_meta_in_path_info.t ..................
1..2
ok 1 - started server
ok 2 - regex metachars in URL does not cause error
Done.
ok
t/TestApp/t/upgrade.t ..................................
1..1
Jifty version 0.80408 up to date.
Jifty::Plugin::CSSQuery version 0.0.1 up to date.
Jifty::Plugin::SkeletonApp version 0.0.1 up to date.
Jifty::Plugin::REST version 0.0.1 up to date.
Jifty::Plugin::Halo version 0.0.1 up to date.
Jifty::Plugin::ErrorTemplates version 0.0.1 up to date.
Jifty::Plugin::OnlineDocs version 0.0.1 up to date.
Jifty::Plugin::CompressedCSSandJS version 0.0.1 up to date.
Jifty::Plugin::AdminUI version 0.0.1 up to date.
TestApp version 0.0.1 up to date.
ok 1 - no warnings or worse
Done.
ok
ERROR - Unhandled web error requested_private_component
t/TestApp/t/use_mason_wrapper.t ........................
1..6
ok 1 - started server
ok 2 - grab a page
ok 3 - got the right template
ok 4 - used the custom wrapper
ok 5 - getting the wrapper directly
ok 6 - and we were not able to
Done.
ok
Test Summary Report
-------------------
t/TestApp-Plugin-Chart/t/gd_graph.t (Wstat: 1024 Tests: 9 Failed: 4)
Failed tests: 6-9
Non-zero exit status: 4
t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
Files=99, Tests=1608, 164 wallclock secs ( 0.05 usr 0.65 sys + 108.16 cusr 36.63 csys = 145.49 CPU)
Result: FAIL
Failed 2/99 test programs. 4/1608 subtests failed.
make: *** [test_dynamic] Error 255
SARTAK/Jifty-0.80408.tar.gz
make test TEST_VERBOSE=1 -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SARTAK/Jifty-0.80408.tar.gz
Finished 2009-06-14T11:53:36