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 st...@apache.org on 2001/10/18 06:18:16 UTC

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

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