mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
display killed pids to make it easier to see for autobuilds etc
This commit is contained in:
parent
502e5ae6e1
commit
abee109cd1
@ -6,6 +6,7 @@ sub ftpkillslaves {
|
|||||||
my $f = ".sock$base$id$ext.pid";
|
my $f = ".sock$base$id$ext.pid";
|
||||||
my $pid = checkserver($f);
|
my $pid = checkserver($f);
|
||||||
if($pid > 0) {
|
if($pid > 0) {
|
||||||
|
printf ("* kill pid for %-5s => %-5d\n", "ftp-$base$id$ext", $pid);
|
||||||
kill (9, $pid); # die!
|
kill (9, $pid); # die!
|
||||||
}
|
}
|
||||||
unlink($f);
|
unlink($f);
|
||||||
|
@ -1571,9 +1571,8 @@ sub singletest {
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# Stop all running test servers
|
# Stop all running test servers
|
||||||
sub stopservers {
|
sub stopservers {
|
||||||
print "Shutting down test suite servers:\n" if ($verbose);
|
|
||||||
for(keys %run) {
|
for(keys %run) {
|
||||||
printf ("* kill pid for %-5s => %-5d\n", $_, $run{$_}) if($verbose);
|
printf ("* kill pid for %-5s => %-5d\n", $_, $run{$_});
|
||||||
stopserver($run{$_}); # the pid file is in the hash table
|
stopserver($run{$_}); # the pid file is in the hash table
|
||||||
}
|
}
|
||||||
ftpkillslaves();
|
ftpkillslaves();
|
||||||
|
Loading…
Reference in New Issue
Block a user