mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
46 lines
559 B
Plaintext
46 lines
559 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
|
||
|
<name>
|
||
|
Pre-request callback for FTP
|
||
|
</name>
|
||
|
<tool>
|
||
|
libprereq
|
||
|
</tool>
|
||
|
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<stripfile>
|
||
|
s/^Local port = \d+/Local port = stripped/
|
||
|
</stripfile>
|
||
|
<stdout>
|
||
|
Connected to %HOSTIP
|
||
|
Connected from %CLIENTIP
|
||
|
Remote port = %FTPPORT
|
||
|
Local port = stripped
|
||
|
Returning = 0
|
||
|
</stdout>
|
||
|
</verify>
|
||
|
</testcase>
|