aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-23 15:20:20 +0000
committerYang Tse <yangsita@gmail.com>2009-12-23 15:20:20 +0000
commitc74875d94e9fee0c3778ea4d3896961ceab16a53 (patch)
tree8d62ddb6386bbee462efbeb4da1e512be88855a4 /tests/runtests.pl
parent271dc9c5821d05c454936a0b8acad5aa0a09c8a7 (diff)
Back out some pingpong server stopping changes introduced last week in
order to re-use 'classic' stopping and allow taking test-suite run time references from this state.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 536f604f8..189d64cab 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2277,6 +2277,11 @@ sub singletest {
my @killservers = getpart("client", "killserver");
foreach my $serv (@killservers) {
chomp $serv;
+ if($serv =~ /^ftp(\d*)(-ipv6|)/) {
+ my ($id, $ext) = ($1, $2);
+ #print STDERR "SERV $serv $id $ext\n";
+ ftpkillslave($id, $ext, $verbose);
+ }
if($run{$serv}) {
stopserver($run{$serv}); # the pid file is in the hash table
$run{$serv}=0; # clear pid
@@ -2284,11 +2289,6 @@ sub singletest {
else {
logmsg "RUN: The $serv server is not running\n";
}
- if($serv =~ /^ftp(\d*)(-ipv6|)/) {
- my ($id, $ext) = ($1, $2);
- #print STDERR "SERV $serv $id $ext\n";
- ftpkillslave($id, $ext, $verbose);
- }
}
# remove the test server commands file after each test