Loading tests/ftp.pm +3 −3 Original line number Diff line number Diff line Loading @@ -120,8 +120,8 @@ sub killpid { # Allow all signalled processes five seconds to gracefully die. if(defined(@signalled)) { my $eighths = 40; while($eighths--) { my $twentieths = 5 * 20; while($twentieths--) { for(my $i = scalar(@signalled) - 1; $i >= 0; $i--) { my $pid = $signalled[$i]; if(!kill(0, $pid)) { Loading @@ -132,7 +132,7 @@ sub killpid { } } last if(not scalar(@signalled)); select(undef, undef, undef, 0.125); select(undef, undef, undef, 0.05); } } Loading tests/runtests.pl +6 −6 Original line number Diff line number Diff line Loading @@ -2251,9 +2251,9 @@ sub singletest { # of time until the server removes it, or the given time expires. if($serverlogslocktimeout) { my $lockretry = $serverlogslocktimeout * 8; my $lockretry = $serverlogslocktimeout * 20; while((-f $SERVERLOGS_LOCK) && $lockretry--) { select(undef, undef, undef, 0.125); select(undef, undef, undef, 0.05); } if(($lockretry < 0) && ($serverlogslocktimeout >= $defserverlogslocktimeout)) { Loading Loading @@ -3421,7 +3421,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 10; logmsg "\nTest definition reading and preparation time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3441,7 +3441,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 15; logmsg "\nTest server logs lock removal time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3451,7 +3451,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 10; logmsg "\nTest results verification time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3462,7 +3462,7 @@ if($timestats) { } $counter = 50; logmsg "\nAggregated time per test ". logmsg "\nTotal time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; logmsg "------ ----\n"; Loading Loading
tests/ftp.pm +3 −3 Original line number Diff line number Diff line Loading @@ -120,8 +120,8 @@ sub killpid { # Allow all signalled processes five seconds to gracefully die. if(defined(@signalled)) { my $eighths = 40; while($eighths--) { my $twentieths = 5 * 20; while($twentieths--) { for(my $i = scalar(@signalled) - 1; $i >= 0; $i--) { my $pid = $signalled[$i]; if(!kill(0, $pid)) { Loading @@ -132,7 +132,7 @@ sub killpid { } } last if(not scalar(@signalled)); select(undef, undef, undef, 0.125); select(undef, undef, undef, 0.05); } } Loading
tests/runtests.pl +6 −6 Original line number Diff line number Diff line Loading @@ -2251,9 +2251,9 @@ sub singletest { # of time until the server removes it, or the given time expires. if($serverlogslocktimeout) { my $lockretry = $serverlogslocktimeout * 8; my $lockretry = $serverlogslocktimeout * 20; while((-f $SERVERLOGS_LOCK) && $lockretry--) { select(undef, undef, undef, 0.125); select(undef, undef, undef, 0.05); } if(($lockretry < 0) && ($serverlogslocktimeout >= $defserverlogslocktimeout)) { Loading Loading @@ -3421,7 +3421,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 10; logmsg "\nTest definition reading and preparation time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3441,7 +3441,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 15; logmsg "\nTest server logs lock removal time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3451,7 +3451,7 @@ if($timestats) { logmsg "$txt\n"; } $counter = 25; $counter = 10; logmsg "\nTest results verification time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; Loading @@ -3462,7 +3462,7 @@ if($timestats) { } $counter = 50; logmsg "\nAggregated time per test ". logmsg "\nTotal time per test ". sprintf("(%s)...\n\n", (not $fullstats)?"top $counter":"full"); logmsg "-time- test\n"; logmsg "------ ----\n"; Loading