From abee109cd1aebc4074db7bcfebadb1e38177db8a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Apr 2005 14:03:08 +0000 Subject: [PATCH] display killed pids to make it easier to see for autobuilds etc --- tests/ftp.pm | 1 + tests/runtests.pl | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ftp.pm b/tests/ftp.pm index 390c21459..6c5f9d353 100644 --- a/tests/ftp.pm +++ b/tests/ftp.pm @@ -6,6 +6,7 @@ sub ftpkillslaves { my $f = ".sock$base$id$ext.pid"; my $pid = checkserver($f); if($pid > 0) { + printf ("* kill pid for %-5s => %-5d\n", "ftp-$base$id$ext", $pid); kill (9, $pid); # die! } unlink($f); diff --git a/tests/runtests.pl b/tests/runtests.pl index bef5a59a3..1a604d801 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1571,9 +1571,8 @@ sub singletest { ####################################################################### # Stop all running test servers sub stopservers { - print "Shutting down test suite servers:\n" if ($verbose); 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 } ftpkillslaves();