aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-28 14:03:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-28 14:03:08 +0000
commitabee109cd1aebc4074db7bcfebadb1e38177db8a (patch)
treeb632d08dd1144f3a70e262f326de347f000541b5 /tests
parent502e5ae6e1f9e1229b1ea61a544d9d41fc4e5a92 (diff)
display killed pids to make it easier to see for autobuilds etc
Diffstat (limited to 'tests')
-rw-r--r--tests/ftp.pm1
-rwxr-xr-xtests/runtests.pl3
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();