httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: sticky preferences in Apache-Test
Date Tue, 13 Jan 2004 14:51:07 GMT

> 
> I think the patch below handles that fine for any mp2 builds.

I've done some more digging - this patch seems to be required.

--Geoff

> 
> Index: lib/Apache/TestRun.pm
> ===================================================================
> RCS file:
> /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
> retrieving revision 1.135
> diff -u -r1.135 TestRun.pm
> --- lib/Apache/TestRun.pm       8 Jan 2004 04:54:06 -0000       1.135
> +++ lib/Apache/TestRun.pm       8 Jan 2004 21:07:01 -0000
> @@ -1291,6 +1291,11 @@
>  sub custom_config_load {
>      debug "trying to load custom config data";
> 
> +    if (Apache::TestConfig::IS_MOD_PERL_2_BUILD()) {
> +        debug "modperl-2.0 build - ignore any custom config data";
> +        return;
> +    }
> +
>      if (my $custom_config_path = custom_config_path()) {
>          debug "loading custom config path '$custom_config_path'";
> 



Mime
View raw message