[EMAIL PROTECTED] wrote:
> dougm 01/12/17 16:23:03
>
> Modified: t/response/TestApache subprocess.pm
> Log:
> skip subprocess test unless Apache::SubProcess is available
why would Apache::SubProcess be unavailable? It works with bleadperl and
with some more investigation will work with 5.6.1. Only APR::PerlIO
requires the latest bleadperl.
> Revision Changes Path
> 1.3 +2 -2 modperl-2.0/t/response/TestApache/subprocess.pm
>
> Index: subprocess.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/t/response/TestApache/subprocess.pm,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- subprocess.pm 2001/12/18 00:21:02 1.2
> +++ subprocess.pm 2001/12/18 00:23:03 1.3
> @@ -9,7 +9,7 @@
> use Apache::TestUtil;
> use File::Spec::Functions qw(catfile catdir);
>
> -use Apache::SubProcess ();
> +eval { require Apache::SubProcess };
>
> my %scripts = (
> argv => 'print STDOUT "@ARGV";',
> @@ -38,7 +38,7 @@
> my $vars = $cfg->{vars};
>
> # XXX: these tests randomly fail under 5.6.1
> - plan $r, todo => [1..4], tests => 4;
> + plan $r, todo => [1..4], tests => 4, have_module 'Apache::SubProcess';
>
> my $target_dir = catfile $vars->{documentroot}, "util";
>
>
>
>
>
--
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]