Home | History | Annotate | Download | only in tests

Lines Matching refs:pid2

422     my $pid2 = 0;
462 $pid2 = 0 + <PID>;
464 if(($pid2 > 0) && pidexists($pid2)) {
465 # if $pid2 is valid, then make sure this pid is alive, as
470 # invalidate $pid2 if not actually alive
471 $pid2 = 0;
489 return ($child, $pid2);
1233 my ($http2pid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1238 stopserver($server, "$pid2");
1247 return ($http2pid, $pid2);
1318 my ($httppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1323 stopserver($server, "$pid2");
1334 stopserver($server, "$httppid $pid2");
1339 $pid2 = $pid3;
1347 return ($httppid, $pid2);
1393 my ($httppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1398 stopserver($server, "$pid2");
1409 stopserver($server, "$httppid $pid2");
1414 $pid2 = $pid3;
1422 return ($httppid, $pid2);
1474 my ($httpspid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1479 stopserver($server, "$pid2");
1490 stopserver($server, "$httpspid $pid2");
1505 return ($httpspid, $pid2);
1555 my ($httptlspid, $pid2) = startnew($cmd, $pidfile, 10, 1); # fake pidfile
1560 stopserver($server, "$pid2");
1571 stopserver($server, "$httptlspid $pid2");
1576 $pid2 = $pid3;
1584 return ($httptlspid, $pid2);
1650 my ($ftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1655 stopserver($server, "$pid2");
1666 stopserver($server, "$ftppid $pid2");
1672 $pid2 = $pid3;
1680 return ($pid2, $ftppid);
1732 my ($ftpspid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1737 stopserver($server, "$pid2");
1748 stopserver($server, "$ftpspid $pid2");
1763 return ($ftpspid, $pid2);
1814 my ($tftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1819 stopserver($server, "$pid2");
1830 stopserver($server, "$tftppid $pid2");
1835 $pid2 = $pid3;
1843 return ($pid2, $tftppid);
1895 my ($rtsppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1900 stopserver($server, "$pid2");
1911 stopserver($server, "$rtsppid $pid2");
1916 $pid2 = $pid3;
1924 return ($rtsppid, $pid2);
1973 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0);
1977 # able to read the pidfile and consequently returns a zero pid2 above.
1982 stopserver($server, "$pid2");
1989 # this verification succeeds the recovered pid is assigned to pid2.
1995 stopserver($server, "$sshpid $pid2");
1999 $pid2 = $pid3;
2015 stopserver($server, "$sshpid $pid2");
2021 logmsg "RUN: $srvrname server is now running PID $pid2\n";
2024 return ($pid2, $sshpid);
2134 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 30, 1); # fake pidfile
2143 stopserver($server, "$pid2");
2153 stopserver($server, "$sshpid $pid2");
2157 $pid2 = $pid3;
2160 logmsg "RUN: $srvrname server is now running PID $pid2\n";
2163 return ($pid2, $sshpid);
4254 my ($pid, $pid2);
4274 ($pid, $pid2) = runpingpongserver($what, "", $verbose);
4278 printf ("* pid $what => %d %d\n", $pid, $pid2) if($verbose);
4279 $run{$what}="$pid $pid2";
4288 ($pid, $pid2) = runpingpongserver("ftp", "2", $verbose);
4292 printf ("* pid ftp2 => %d %d\n", $pid, $pid2) if($verbose);
4293 $run{'ftp2'}="$pid $pid2";
4302 ($pid, $pid2) = runpingpongserver("ftp", "", $verbose, "ipv6");
4307 $pid2) if($verbose);
4308 $run{'ftp-ipv6'}="$pid $pid2";
4317 ($pid, $pid2) = runhttpserver("gopher", $verbose, 0,
4322 logmsg sprintf ("* pid gopher => %d %d\n", $pid, $pid2)
4324 $run{'gopher'}="$pid $pid2";
4334 ($pid, $pid2) = runhttpserver("gopher", $verbose, "ipv6",
4340 $pid2) if($verbose);
4341 $run{'gopher-ipv6'}="$pid $pid2";
4346 ($pid, $pid2) = runhttp2server($verbose, $HTTP2PORT);
4350 logmsg sprintf ("* pid http/2 => %d %d\n", $pid, $pid2)
4352 $run{'http/2'}="$pid $pid2";
4361 ($pid, $pid2) = runhttpserver("http", $verbose, 0,
4366 logmsg sprintf ("* pid http => %d %d\n", $pid, $pid2)
4368 $run{'http'}="$pid $pid2";
4378 ($pid, $pid2) = runhttpserver("http", $verbose, "proxy",
4383 logmsg sprintf ("* pid http-proxy => %d %d\n", $pid, $pid2)
4385 $run{'http-proxy'}="$pid $pid2";
4394 ($pid, $pid2) = runhttpserver("http", $verbose, "ipv6",
4399 logmsg sprintf("* pid http-ipv6 => %d %d\n", $pid, $pid2)
4401 $run{'http-ipv6'}="$pid $pid2";
4411 ($pid, $pid2) = runhttpserver("http", $verbose, "pipe",
4416 logmsg sprintf ("* pid http-pipe => %d %d\n", $pid, $pid2)
4418 $run{'http-pipe'}="$pid $pid2";
4427 ($pid, $pid2) = runrtspserver($verbose);
4431 printf ("* pid rtsp => %d %d\n", $pid, $pid2) if($verbose);
4432 $run{'rtsp'}="$pid $pid2";
4441 ($pid, $pid2) = runrtspserver($verbose, "ipv6");
4445 logmsg sprintf("* pid rtsp-ipv6 => %d %d\n", $pid, $pid2)
4447 $run{'rtsp-ipv6'}="$pid $pid2";
4468 ($pid, $pid2) = runpingpongserver("ftp", "", $verbose);
4472 printf ("* pid ftp => %d %d\n", $pid, $pid2) if($verbose);
4473 $run{'ftp'}="$pid $pid2";
4476 ($pid, $pid2) = runftpsserver($verbose, "", $certfile);
4480 logmsg sprintf("* pid ftps => %d %d\n", $pid, $pid2)
4482 $run{'ftps'}="$pid $pid2";
4506 ($pid, $pid2) = runhttpserver("http", $verbose, 0,
4511 printf ("* pid http => %d %d\n", $pid, $pid2) if($verbose);
4512 $run{'http'}="$pid $pid2";
4515 ($pid, $pid2) = runhttpsserver($verbose, "", $certfile);
4519 logmsg sprintf("* pid https => %d %d\n", $pid, $pid2)
4521 $run{'https'}="$pid $pid2";
4534 ($pid, $pid2) = runhttptlsserver($verbose, "IPv4");
4538 logmsg sprintf("* pid httptls => %d %d\n", $pid, $pid2)
4540 $run{'httptls'}="$pid $pid2";
4553 ($pid, $pid2) = runhttptlsserver($verbose, "ipv6");
4557 logmsg sprintf("* pid httptls-ipv6 => %d %d\n", $pid, $pid2)
4559 $run{'httptls-ipv6'}="$pid $pid2";
4568 ($pid, $pid2) = runtftpserver("", $verbose);
4572 printf ("* pid tftp => %d %d\n", $pid, $pid2) if($verbose);
4573 $run{'tftp'}="$pid $pid2";
4582 ($pid, $pid2) = runtftpserver("", $verbose, "ipv6");
4586 printf("* pid tftp-ipv6 => %d %d\n", $pid, $pid2) if($verbose);
4587 $run{'tftp-ipv6'}="$pid $pid2";
4592 ($pid, $pid2) = runsshserver("", $verbose);
4596 printf ("* pid ssh => %d %d\n", $pid, $pid2) if($verbose);
4597 $run{'ssh'}="$pid $pid2";
4601 ($pid, $pid2) = runsocksserver("", $verbose);
4605 printf ("* pid socks => %d %d\n", $pid, $pid2) if($verbose);
4606 $run{'socks'}="$pid $pid2";
4633 ($pid, $pid2) = runhttpserver("http", $verbose, "unix",
4638 logmsg sprintf("* pid http-unix => %d %d\n", $pid, $pid2)
4640 $run{'http-unix'}="$pid $pid2";