un-nest curl
This commit is contained in:
45
curl-8.15.0/tests/data/test196
Normal file
45
curl-8.15.0/tests/data/test196
Normal file
@@ -0,0 +1,45 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
retry
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 430 temporarily not available
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP transient error, retry request once
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1 -w '%{num_retries}\n'
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# 67 is CURLE_LOGIN_DENIED
|
||||
<errorcode>
|
||||
67
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
</protocol>
|
||||
<stdout>
|
||||
1
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user