Bug#591120: libhtml-formfu-perl: FTBFS: failed test

Chris Butler chrisb at debian.org
Sun Aug 1 00:06:16 UTC 2010


forwarded 591120 https://rt.cpan.org/Public/Bug/Display.html?id=59467
tags 591120 +fixed-upstream
thanks

On Sat, Jul 31, 2010 at 06:43:04PM -0400, Lucas Nussbaum wrote:
> > #   Failed test 'stringified form'
> > #   at t/elements/recaptcha.t line 28.
> > #          got: '<form action="" method="post">
> > # <div class="recaptcha">
> > # <span class="elements">
> > # <script type="text/javascript">
> > # //<![CDATA[
> > # var RecaptchaOptions = {};
> > # //]]>
> > # </script>
> > # <script src="http://www.google.com/recaptcha/api/challenge?k=xxx" type="text/javascript"></script>
> > # <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
> > # </span>
> > # </div>
> > # </form>
> > # '
> > #     expected: '<form action="" method="post">
> > # <div class="recaptcha">
> > # <span class="elements">
> > # <script type="text/javascript">
> > # //<![CDATA[
> > # var RecaptchaOptions = {};
> > # //]]>
> > # </script>
> > # <script src="http://api.recaptcha.net/challenge?k=xxx" type="text/javascript"></script>
> > # <noscript><iframe frameborder="0" height="300" src="http://api.recaptcha.net/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
> > # </span>
> > # </div>
> > # </form>
> > # '
> > # Looks like you failed 1 test of 1.
> > t/elements/recaptcha.t ......................................... 

This is due to the following change in libcaptcha-recaptcha-perl 0.93:

0.93    2010-07-03
        Updated Perl plugin to use Google infrastructure.

i.e. it now produces URLs referring to google.com rather than recaptcha.net.

The bug has already been reported upstream, and will apparently be fixed in
the next release.

-- 
Chris Butler <chrisb at debian.org>
  GnuPG Key ID: 4096R/49E3ACD3





More information about the pkg-perl-maintainers mailing list