mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
973ed24dc8
2 - store the time it took to verify it and allow that time to be used as %FTPTIME[23] in command lines to allow us to adjust better to slow hosts since test 190 failed on my slow solaris machine just because it hadn't gotten time to run all the way the test assumed all machines would reach before the time-out elapsed.
38 lines
530 B
Plaintext
38 lines
530 B
Plaintext
# Server-side
|
|
<reply>
|
|
moooooooo
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<killserver>
|
|
ftp
|
|
</killserver>
|
|
<name>
|
|
FTP download with strict timeout and slow CWD
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
|
|
</command>
|
|
<file name="log/ftpserver.cmd">
|
|
DELAY CWD 60
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 28 is CURLE_OPERATION_TIMEOUTED
|
|
<errorcode>
|
|
28
|
|
</errorcode>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS curl_by_daniel@haxx.se
|
|
PWD
|
|
CWD path
|
|
</protocol>
|
|
</verify>
|