From 67532e916c6d9a899577b1f287ec8e70b324eae0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 17 May 2004 10:51:51 +0000 Subject: grrr, fix the check again if no ftp server at all is running --- tests/runtests.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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; } } -- cgit v1.2.3