From 344bbcf259548b53ffc18784271a7abc39703eeb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 19 Dec 2009 23:10:33 +0000 Subject: [PATCH] fix the ftp check delay timer to never be set below 1 to work correctly in cases like test 190 --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 44697fa..ef48353 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -650,7 +650,7 @@ sub verifyftp { logmsg "RUN: Verifying our test ". uc($proto) . " server took $took seconds\n"; } - $ftpchecktime = $took?$took:1; # make sure it never is zero + $ftpchecktime = $took>=1?$took:1; # make sure it never is below 1 return $pid; } -- 2.7.4