sbekman     01/06/21 01:00:09

  Modified:    Apache-Test/lib/Apache TestRun.pm
  Log:
  remove newlines, adjust levels, so with the default 'warnings' level the important 
messages will be printed, consider making notice the default level
  
  Revision  Changes    Path
  1.7       +4 -4      modperl-2.0/Apache-Test/lib/Apache/TestRun.pm
  
  Index: TestRun.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestRun.pm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestRun.pm        2001/06/21 07:41:13     1.6
  +++ TestRun.pm        2001/06/21 08:00:07     1.7
  @@ -180,10 +180,10 @@
   
       $SIG{INT} = sub {
           if ($caught_sig_int++) {
  -            warning "\ncaught SIGINT\n";
  +            warning "\ncaught SIGINT";
               exit;
           }
  -        notice "\nhalting tests\n";
  +        notice "\nhalting tests";
           $server->stop if $opts->{'start-httpd'};
           exit;
       };
  @@ -351,12 +351,12 @@
           }
           else {
               my $version = $server->{version};
  -            notice "server $name running (pid=$pid, version=$version)\n";
  +            warning "server $name running (pid=$pid, version=$version)";
           }
           return;
       }
   
  -    warning "no server is running on $name\n";
  +    warning "no server is running on $name";
   }
   
   sub opt_debug {
  
  
  

Reply via email to