curl-curl/tests/data/test196
Viktor Szakats 4d2a05d3fe
tests: use crlf=yes attribute more
To make special newlines more explicit and visible.
Mostly in `<protocol>` sections, some in `<data*>` and `<upload>`.

Reducing the number of `tests/data/test*`:
- CRLF newlines from 21535 to 11337.
- files with mixed newlines from 1335 to 707.

Also delete empty `<protocol>` sections.

Closes #19284
2025-10-31 15:01:08 +01:00

46 lines
616 B
Plaintext

<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 crlf="yes">
USER anonymous
PASS ftp@example.com
USER anonymous
PASS ftp@example.com
</protocol>
<stdout>
1
</stdout>
</verify>
</testcase>