httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <GYo...@covad.com>
Subject RE: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigPerl.pm
Date Tue, 03 Dec 2002 20:57:12 GMT
this change is causing problems for me:

*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST 
!!! configure() has failed:
Use of uninitialized value in numeric gt (>) at
/src/bleedperl/lib/site_perl/5.9.0/i686-linux-thread-multi/Apache/TestConfig
Perl.pm line 288, <DATA> line 65.

both under 1.3 and 2.0.  sticking a 

require mod_perl;

in there seemed to fix it :)

--Geoff
  
  Index: TestConfigPerl.pm
  ===================================================================
  RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- TestConfigPerl.pm	1 Jul 2002 07:57:15 -0000	1.53
  +++ TestConfigPerl.pm	3 Dec 2002 15:28:52 -0000	1.54
  @@ -282,6 +282,13 @@
   sub configure_pm_tests {
       my $self = shift;
   
  +    # since server wasn't started yet, the modules in blib under
  +    # Apache2 can't be seen. So we must load Apache2.pm, without which
  +    # run_apache_test_config might fail to require modules
  +    if ($mod_perl::VERSION > 1.99) {
  +        require Apache2;
  +    }
  +
       for my $subdir (qw(Response Protocol Hooks Filter)) {
           my $dir = catfile $self->{vars}->{t_dir}, lc $subdir;
           next unless -d $dir;
  
  
  

Mime
View raw message