curl-curl/tests/data/test475
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
771 B
Plaintext

<testcase>
<info>
<keywords>
FTP
EPSV
STOR
TYPE A
</keywords>
</info>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP PASV upload ASCII file
</name>
<file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes">
%if win32
%repeat[1750 x a line of text used for verifying this !%0d%0a]%
%else
%repeat[1750 x a line of text used for verifying this !%0a]%
%endif
</file>
<command>
"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<upload crlf="yes" nonewline="yes">
%repeat[1750 x a line of text used for verifying this !%0a]%
</upload>
<protocol crlf="yes">
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE A
STOR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>