[Rt-commit] rt branch, 4.0/apache2-fixes, updated. rt-4.0.0rc5-31-g6ed274a

Alex Vandiver alexmv at bestpractical.com
Mon Feb 28 22:53:06 EST 2011


The branch, 4.0/apache2-fixes has been updated
       via  6ed274a34dee08387cda475c428aaf73a3742a00 (commit)
      from  dbf587c884a1846056043d350b1038b659e57721 (commit)

Summary of changes:
 lib/RT/Test.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 6ed274a34dee08387cda475c428aaf73a3742a00
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Feb 28 22:53:02 2011 -0500

    909fce0 causes warnings in stop_server; short-circuit around processes which never started servers

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index f912657..a92c2f3 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -1296,6 +1296,7 @@ sub start_apache_server {
 sub stop_server {
     my $self = shift;
     my $in_end = shift;
+    return unless @SERVERS;
 
     my $sig = 'TERM';
     $sig = 'INT' if $ENV{'RT_TEST_WEB_HANDLER'} eq "plack";

-----------------------------------------------------------------------


More information about the Rt-commit mailing list