Bug#577090: libtest-www-mechanize-perl: test failures with CGI.pm >= 3.44

Niko Tyni ntyni at debian.org
Fri Apr 9 13:59:48 UTC 2010


Package: libtest-www-mechanize-perl
Version: 1.24-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition

This package fails to build when CGI.pm >= 3.44 is installed, including
libcgi-pm-perl/3.49-1 currently in sid.

The bug is in parameter passing between Test::WWW::Mechanize and WWW::Mechanize 
when using the PUT method. It was just unearthed by a CGI.pm change.

See 
 http://code.google.com/p/www-mechanize/issues/detail?id=127
 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-04/msg00458.html
 
which both include a proposed patch.


t/pod.t ................. ok
 
#   Failed test 'sanity check: we can load goodlinks.html'
#   at t/put_ok.t line 34.
Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.

#   Failed test 'PUTs existing URI and reports success'
#   at t/put_ok.t line 38.
# STDOUT is:
# not ok 1 - Try to PUT goodlinks.html
# 
# not:
# ok 1 - Try to PUT goodlinks.html
# 
# as expected
# STDERR is:
# #   Failed test 'Try to PUT goodlinks.html'
# #   at t/put_ok.t line 37.
# # 500
# # read timeout
# 
# not:
# 
# as expected

#   Failed test 'And the result should be true'
#   at t/put_ok.t line 40.
Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.
  
#   Failed test 'PUTs existing URI and reports success - default desc'
#   at t/put_ok.t line 45.
# STDOUT is:
# not ok 1 - PUT http://localhost:13432/goodlinks.html
# 
# not:
# ok 1 - PUT http://localhost:13432/goodlinks.html
# 
# as expected
# STDERR is:
# #   Failed test 'PUT http://localhost:13432/goodlinks.html'
# #   at t/put_ok.t line 44.
# # 500
# # read timeout
# 
# not:
# 
# as expected
t/put_ok.t .............. 
Failed 4/11 subtests 
t/stuff_inputs.t ........ ok
t/submit_form_ok.t ...... ok

Test Summary Report
-------------------
t/put_ok.t            (Wstat: 0 Tests: 11 Failed: 4)
  Failed tests:  3-4, 6-7
Files=25, Tests=212, 563 wallclock secs ( 0.09 usr  0.03 sys +  3.88 cusr  0.51 csys =  4.51 CPU)
Result: FAIL
Failed 1/25 test programs. 4/212 subtests failed.

-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list