You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by do...@apache.org on 2002/04/23 17:43:52 UTC

cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache Test.pm

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};