Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 103971
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.53
Fixed in: 0.54



Subject: New warnings in perl 5.21.x cause test failures
There are at least "Redundant argument in sprintf" warnings (new in perl 5.21.x) and also "CGI::param called in list context" warnings (new in CGI 4.x): ... # Failed test 'Shell produced no error output for auth' # at t/14-command-identity.t line 248. # got: 'Redundant argument in sprintf at t/14-command-identity.t line 237, <$server> line 1. # ' # expected: undef CGI::param called in list context from package main line 64, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /opt/perl-5.21.7t/lib/site_perl/5.21.7/CGI.pm line 437, <DATA> line 32. # Failed test 'Shell produced no error output for autofill' # at t/14-command-identity.t line 248. # got: 'Redundant argument in sprintf at t/14-command-identity.t line 237, <$server> line 1. # Redundant argument in sprintf at t/14-command-identity.t line 237, <$server> line 1. # Redundant argument in sprintf at t/14-command-identity.t line 237, <$server> line 1. # Redundant argument in sprintf at t/14-command-identity.t line 237, <$server> line 1. # ' # expected: undef CGI::param called in list context from package main line 64, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /opt/perl-5.21.7t/lib/site_perl/5.21.7/CGI.pm line 437, <DATA> line 32. ... # Failed test 'Shell produced no error output for interactive_script_creation' # at t/16-form-fillout.t line 88. # got: 'Redundant argument in sprintf at t/16-form-fillout.t line 81, <$server> line 1. # Redundant argument in sprintf at t/16-form-fillout.t line 81, <$server> line 1. # Redundant argument in sprintf at t/16-form-fillout.t line 81, <$server> line 1. # Redundant argument in sprintf at t/16-form-fillout.t line 81, <$server> line 1. # Redundant argument in sprintf at t/16-form-fillout.t line 81, <$server> line 1. # ' # expected: undef # Looks like you failed 1 test of 7. t/16-form-fillout.t ................ ...
Should be fixed in 0.54, thanks for the heads-up!
On 2015-04-26 03:07:19, CORION wrote: Show quoted text
> Should be fixed in 0.54, thanks for the heads-up!
There's one place missing in 18-browser-autosync.t. This is just generating noise, no test fails: Redundant argument in sprintf at t/18-browser-autosync.t line 58. Redundant argument in sprintf at t/18-browser-autosync.t line 58. Redundant argument in sprintf at t/18-browser-autosync.t line 58, <$server> line 1. Redundant argument in sprintf at t/18-browser-autosync.t line 58, <$server> line 1. Redundant argument in sprintf at t/18-browser-autosync.t line 58, <$server> line 1. Redundant argument in sprintf at t/18-browser-autosync.t line 58, <$server> line 1. Redundant argument in sprintf at t/18-browser-autosync.t line 58, <$server> line 1. t/18-browser-autosync.t ............ ok (Sample report: http://www.cpantesters.org/cpan/report/f0af34a2-eb9d-11e4-8ab5-6e12e0bfc7aa )