verifyserver() actually returns the pid of the unsecure http and ftp servers
authorYang Tse <yangsita@gmail.com>
Wed, 13 Feb 2008 06:06:57 +0000 (06:06 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 13 Feb 2008 06:06:57 +0000 (06:06 +0000)
when verifying the https and ftps servers

tests/runtests.pl

index b9e15f5..457b79d 100755 (executable)
@@ -911,7 +911,7 @@ sub runhttpsserver {
         $doesntrun{$pidfile} = 1;
         return (0,0);
     }
-    $pid2 = $pid3;
+    # Here pid3 is actually the pid returned by the unsecure-http server.
 
     if($verbose) {
         logmsg "RUN: HTTPS server is now running PID $httpspid\n";
@@ -1053,7 +1053,7 @@ sub runftpsserver {
         $doesntrun{$pidfile} = 1;
         return (0,0);
     }
-    $pid2 = $pid3;
+    # Here pid3 is actually the pid returned by the unsecure-ftp server.
 
     if($verbose) {
         logmsg "RUN: FTPS server is now running PID $ftpspid\n";