curl-curl/tests/data/test524
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

47 lines
527 B
Plaintext

<testcase>
<info>
<keywords>
FTP
UPLOAD
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
ftp
</server>
<tool>
lib%TESTNUMBER
</tool>
<name>
FTP upload with target URL ending with slash
</name>
# first URL then proxy
<command>
ftp://%HOSTIP:%FTPPORT/path/to/
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
USER anonymous
PASS ftp@example.com
PWD
</protocol>
# 3 is CURLE_URL_MALFORMAT
<errorcode>
3
</errorcode>
</verify>
</testcase>