httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache Test.pm
Date Tue, 23 Apr 2002 15:43:52 GMT
dougm       02/04/23 08:43:52

  Modified:    perl-framework/Apache-Test/lib/Apache Test.pm
  Log:
  support have_module 'proxy_http.c'
  
  Revision  Changes    Path
  1.45      +5 -3      httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm
  
  Index: Test.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- Test.pm	9 Apr 2002 07:24:29 -0000	1.44
  +++ Test.pm	23 Apr 2002 15:43:52 -0000	1.45
  @@ -168,10 +168,12 @@
   
       my @reasons = ();
       for (@modules) {
  -        if (/^[a-z0-9_]+$/) {
  +        if (/^[a-z0-9_.]+$/) {
               my $mod = $_;
  -            $mod = 'mod_' . $mod unless $mod =~ /^mod_/;
  -            $mod .= '.c' unless $mod =~ /\.c$/;
  +            unless ($mod =~ /\.c$/) {
  +                $mod = 'mod_' . $mod unless $mod =~ /^mod_/;
  +                $mod .= '.c'
  +            }
               next if $cfg->{modules}->{$mod};
               if (exists $cfg->{cmodules_disabled}->{$mod}) {
                   push @reasons, $cfg->{cmodules_disabled}->{$mod};
  
  
  

Mime
View raw message