From: Daniel Stenberg Date: Mon, 17 May 2004 10:51:51 +0000 (+0000) Subject: grrr, fix the check again if no ftp server at all is running X-Git-Tag: curl-7_12_0~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67532e916c6d9a899577b1f287ec8e70b324eae0;p=curl grrr, fix the check again if no ftp server at all is running --- 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; } }