From: Daniel Stenberg Date: Thu, 26 Sep 2024 14:46:49 +0000 (+0200) Subject: tests: remove the %FTPTIME3 variable X-Git-Tag: curl-8_11_0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc284be4ccc2483152c2fb5da060660cd248f0ed;p=thirdparty%2Fcurl.git tests: remove the %FTPTIME3 variable Nothing uses it. Ref: #15056 Closes #15064 --- diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index fc773b6a28..67f36613d9 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -132,7 +132,6 @@ Available substitute variables include: - `%FTPSPORT` - Port number of the FTPS server - `%FTPTIME2` - Timeout in seconds that should be just sufficient to receive a response from the test FTP server -- `%FTPTIME3` - Even longer than `%FTPTIME2` - `%GOPHER6PORT` - IPv6 port number of the Gopher server - `%GOPHERPORT` - Port number of the Gopher server - `%GOPHERSPORT` - Port number of the Gophers server diff --git a/tests/servers.pm b/tests/servers.pm index 87a11079d4..14ffca23bd 100644 --- a/tests/servers.pm +++ b/tests/servers.pm @@ -3031,15 +3031,13 @@ sub subvariables { $$thing =~ s/${prefix}SSHSRVMD5/$SSHSRVMD5/g; $$thing =~ s/${prefix}SSHSRVSHA256/$SSHSRVSHA256/g; - # The purpose of FTPTIME2 and FTPTIME3 is to provide times that can be + # The purpose of FTPTIME2 is to provide times that can be # used for time-out tests and that would work on most hosts as these # adjust for the startup/check time for this particular host. We needed to # do this to make the test suite run better on very slow hosts. my $ftp2 = $ftpchecktime * 8; - my $ftp3 = $ftpchecktime * 12; $$thing =~ s/${prefix}FTPTIME2/$ftp2/g; - $$thing =~ s/${prefix}FTPTIME3/$ftp3/g; # HTTP2 $$thing =~ s/${prefix}H2CVER/$h2cver/g;