[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-test-cvs
Subject: cvs commit: httpd-test/perl-framework/Apache-Test Changes
From: stas () apache ! org
Date: 2004-08-26 1:18:00
Message-ID: 20040826011800.75359.qmail () minotaur ! apache ! org
[Download RAW message or body]
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]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic