httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigPerl.pm
Date Thu, 18 Oct 2001 04:18:16 GMT
stas        01/10/17 21:18:16

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigPerl.pm
  Log:
  - warn if the require of the module with APACHE_TEST_CONFIGURE sub inside
    has failed.
  
  Revision  Changes    Path
  1.38      +1 -0      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
  
  Index: TestConfigPerl.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- TestConfigPerl.pm	2001/10/16 20:30:57	1.37
  +++ TestConfigPerl.pm	2001/10/18 04:18:16	1.38
  @@ -349,6 +349,7 @@
           close $fh;
           if ($content =~ /APACHE_TEST_CONFIGURE/m) {
               eval { require $file };
  +            warn $@ if $@;
               # double check that it's a real sub
               if ($module->can('APACHE_TEST_CONFIGURE')) {
                   eval { $module->APACHE_TEST_CONFIGURE($self); };
  
  
  

Mime
View raw message