diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-12-19 23:10:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-12-19 23:10:33 +0000 |
commit | 344bbcf259548b53ffc18784271a7abc39703eeb (patch) | |
tree | 10401b588cf33412c0586aea05d899503574cf15 /tests | |
parent | 240fa29e94c63f4b86ac2715b706277415c863b4 (diff) |
fix the ftp check delay timer to never be set below 1 to work correctly
in cases like test 190
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 44697fa73..ef483535b 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; } |