Skip Menu |
 

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 29979
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: ben [...] decadent.org.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.11
  • 2.111
  • 2.11_pre1
  • 2.11_pre2
  • 2.11_pre3
  • 2.11_pre4
  • 2.11_pre5
  • 2.12
  • 2.121
Fixed in: 2.13



Subject: apache_mvc test doesn't work with mod_perl & libapr 2
Date: Sun, 14 Oct 2007 17:32:13 +0100
To: bug-Maypole [...] rt.cpan.org
From: Ben Hutchings <ben [...] decadent.org.uk>
Download (untitled) / with headers
text/plain 785b
The apache_mvc test doesn't work with mod_perl & libapr 2. Suggested fix, from the Debian package: --- maypole.orig/t/apache_mvc.t +++ maypole/t/apache_mvc.t @@ -2,10 +2,13 @@ use strict; use Test::More; BEGIN { - if (eval { require Apache::Request }) { + if (eval { require Apache2::RequestRec }) { + $ENV{MOD_PERL_API_VERSION} = 2; + plan tests => 3; + } elsif (eval { require Apache::Request }) { plan tests => 3; } else { - Test::More->import(skip_all =>"Apache::Request is not installed: $@"); + Test::More->import(skip_all =>"Neither Apache2::RequestRec nor Apache::Request is installed: $@"); } } -- END -- -- Ben Hutchings Lowery's Law: If it jams, force it. If it breaks, it needed replacing anyway.
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Fixed in SVN revision 589, due for release in 2.13 shortly
Resolved in 2.13


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.