vti / bootylicious

LIghtweight blog engine on Mojo steroids!
84 stars 13 forks source link

redirects make tests fail #12

Closed memowe closed 14 years ago

memowe commented 14 years ago
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t
t/app.t ..... Thu Dec 10 19:35:15 2009 debug main:406 [22314]: Reading configuration from /private/tmp/bootylicious/t/bootylicious.conf.
Thu Dec 10 19:35:15 2009 debug main:433 [22314]: Configuration is not available.
Thu Dec 10 19:35:15 2009 debug Mojolicious:75 [22314]: *** Request for "/". ***
Thu Dec 10 19:35:15 2009 debug MojoX::Dispatcher::Routes:49 [22314]: Dispatching callback.
Thu Dec 10 19:35:15 2009 debug main:174 [22314]: Path is not canonical: 
Thu Dec 10 19:35:15 2009 debug main:175 [22314]: Redirecting to: /.html
Thu Dec 10 19:35:15 2009 debug Mojolicious:128 [22314]: Request took 0.005618 seconds (177.999/s).
t/app.t ..... 1/7 
#   Failed test at t/app.t line 31.
#          got: '302'
#     expected: '200'

#   Failed test at t/app.t line 49.
#          got: '302'
#     expected: '200'

#   Failed test at t/app.t line 50.
#                   ''
#     doesn't match '(?-xism:Archive)'

#   Failed test at t/app.t line 59.
#          got: '302'
#     expected: '200'

#   Failed test at t/app.t line 60.
#                   ''
#     doesn't match '(?-xism:Tags)'
# Looks like you failed 5 tests of 7.
t/app.t ..... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/7 subtests 
t/paging.t .. Thu Dec 10 19:35:16 2009 debug main:406 [22315]: Reading configuration from /private/tmp/bootylicious/t/bootylicious.conf.
Thu Dec 10 19:35:16 2009 debug main:433 [22315]: Configuration is not available.
Thu Dec 10 19:35:16 2009 debug Mojolicious:75 [22315]: *** Request for "/". ***
Thu Dec 10 19:35:16 2009 debug MojoX::Dispatcher::Routes:49 [22315]: Dispatching callback.
Thu Dec 10 19:35:16 2009 debug main:174 [22315]: Path is not canonical: 
Thu Dec 10 19:35:16 2009 debug main:175 [22315]: Redirecting to: /.html
Thu Dec 10 19:35:16 2009 debug Mojolicious:128 [22315]: Request took 0.005590 seconds (178.891/s).
t/paging.t .. ok     

Test Summary Report
-------------------
t/app.t   (Wstat: 1280 Tests: 7 Failed: 5)
  Failed tests:  2, 4-7
  Non-zero exit status: 5
Files=2, Tests=29,  1 wallclock secs ( 0.04 usr  0.02 sys +  0.69 cusr  0.10 csys =  0.85 CPU)
Result: FAIL
Failed 1/2 test programs. 5/29 subtests failed.
make: *** [test_dynamic] Error 255