aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-17 10:51:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-17 10:51:51 +0000
commit67532e916c6d9a899577b1f287ec8e70b324eae0 (patch)
tree5258e0a74a19fc5497f854bbdd2c36a1d1aadf26 /tests
parent3920b4dae80f723fe6eed7503167ff01459a6fb4 (diff)
grrr, fix the check again if no ftp server at all is running
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 7a7081630..250b1e90d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -462,9 +462,9 @@ sub runftpserver {
$pid = 0+$1;
}
}
- if(!$pid || ($took > 2)) {
+ if(!$pid && $data[0]) {
# this is not a known server
- print "RUN: Unknown server on our favourite port: $FTPPORT\n";
+ print "RUN: Unknown server on our favourite FTP port: $FTPPORT\n";
return -1;
}
}