CC: | MIYAGAWA [...] cpan.org |
Subject: | t/plugin/01_encode.t and t/plugin/02_fillinform.t fail (with recent Plack versions?) |
My smoker systems started to report the following failures:
# Failed test 'q is decoded'
# at t/plugin/01_encode.t line 25.
# Failed test at t/plugin/01_encode.t line 30.
# '<html>
# <head>
# <title>MyApp</title>
# </head>
# <body>
# <h1>Foo</h1>
# ã©ã¤ãÂÂãÂÂã¢
# <form method="POST" action="http://localhost/foo">
# <input type="text" name="q" />
# </form>
# </body>
# </html>
# '
# doesn't match '(?^:ã©ã¤ããã¢)'
# Looks like you failed 2 tests of 4.
# Failed test 'query_parameters'
# at t/plugin/01_encode.t line 31.
# Looks like you failed 1 test of 3.
t/plugin/01_encode.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
# Failed test at t/plugin/02_fillinform.t line 34.
# '<html>
# <head>
# <title>MyApp</title>
# </head>
# <body>
#
# <form method="POST" action="http://127.0.0.1:50585/form">
# <input value="ã©ã¤ãÂÂãÂÂã¢" type="text" name="text" /> <input type="submit" value="POST" />
# </form>
#
# </body>
# </html>
# '
# doesn't match '(?^:value="ã©ã¤ããã¢")'
# Looks like you failed 1 test of 2.
t/plugin/02_fillinform.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Statistical analysis suggests that the problem started with Plack 1.0041 (negative theta means "bad"):
****************************************************************
Regression 'mod:Plack'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0856 11.68
[1='eq_1.0031'] 0.0000 0.1483 0.00
[2='eq_1.0033'] 0.0000 0.1640 0.00
[3='eq_1.0034'] 0.0000 0.1640 0.00
[4='eq_1.0037'] -0.1667 0.0964 -1.73
[5='eq_1.0038'] 0.0000 0.2569 0.00
[6='eq_1.0039'] 0.0000 0.1006 0.00
[7='eq_1.0041'] -1.0000 0.1915 -5.22
[8='eq_1.0042'] -1.0000 0.1211 -8.26
R^2= 0.658, N= 80, K= 9
****************************************************************