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 ................
...