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 Changes
Date Thu, 26 Aug 2004 01:18:00 GMT
stas        2004/08/25 18:17:59

  Modified:    perl-framework/Apache-Test/lib/Apache TestRun.pm
               perl-framework/Apache-Test Changes
  Log:
  s/die/CORE::die/ after exec() to avoid warnings (and therefore
  failures) when someone overrides CORE::die when using Apache-Test
  
  Revision  Changes    Path
  1.180     +4 -2      httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm
  
  Index: TestRun.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
  retrieving revision 1.179
  retrieving revision 1.180
  diff -u -u -r1.179 -r1.180
  --- TestRun.pm	13 Aug 2004 01:38:49 -0000	1.179
  +++ TestRun.pm	26 Aug 2004 01:17:58 -0000	1.180
  @@ -640,7 +640,8 @@
       $orig_command = "ulimit -c unlimited; $orig_command";
       warning "setting ulimit to allow core files\n$orig_command";
       exec $orig_command;
  -    die "exec $orig_command has failed"; # shouldn't be reached
  +    # use CORE::die to avoid warnings due to possible overrides of die
  +    CORE::die "exec $orig_command has failed"; # shouldn't be reached
   }
   
   sub set_ulimit {
  @@ -744,7 +745,8 @@
       chdir $orig_cwd;
       warning "rerunning '$orig_command' with new config opts";
       exec $orig_command;
  -    die "exec $orig_command has failed"; # shouldn't be reached
  +    # use CORE::die to avoid warnings due to possible overrides of die
  +    CORE::die "exec $orig_command has failed"; # shouldn't be reached
   }
   
   
  
  
  
  1.159     +3 -0      httpd-test/perl-framework/Apache-Test/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
  retrieving revision 1.158
  retrieving revision 1.159
  diff -u -u -r1.158 -r1.159
  --- Changes	20 Aug 2004 18:25:53 -0000	1.158
  +++ Changes	26 Aug 2004 01:17:59 -0000	1.159
  @@ -8,6 +8,9 @@
   
   =item 1.14-dev
   
  +s/die/CORE::die/ after exec() to avoid warnings (and therefore
  +failures) when someone overrides CORE::die when using Apache-Test
  +[William McKee, Stas]
   
   
   
  
  
  

Mime
View raw message