mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 13:05:03 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
111 lines
4.4 KiB
Plaintext
111 lines
4.4 KiB
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
RETR
|
|
timeout
|
|
FAILURE
|
|
flaky
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
# Overload some standard FTP responses to make them shorter and faster
|
|
# to avoid wasting time waiting for the data phase to start
|
|
<servercmd>
|
|
SLOWDOWN
|
|
REPLY USER 331 OK
|
|
REPLY PASS 230 OK
|
|
REPLY PWD 257 "/"
|
|
REPLY TYPE 200 OK
|
|
</servercmd>
|
|
<data nocheck="yes">
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<killserver>
|
|
ftp
|
|
</killserver>
|
|
<name>
|
|
FTP download with strict timeout and slow data transfer
|
|
</name>
|
|
<command timeout="1">
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 7
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 28 is CURLE_OPERATION_TIMEDOUT
|
|
<errorcode>
|
|
28
|
|
</errorcode>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
SIZE %TESTNUMBER
|
|
RETR %TESTNUMBER
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|