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

53 lines
754 B
Plaintext

<testcase>
<info>
<keywords>
FTP
STOR
</keywords>
</info>
# Server-side
<reply>
<servercmd>
REPLY SIZE 500 command not understood
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP resumed upload but no file present remotely
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command>
<file name="%LOGDIR/upload%TESTNUMBER">
this is the *****crap******** that we're gonna upload
worx?
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
STOR %TESTNUMBER
QUIT
</protocol>
<upload>
this is the *****crap******** that we're gonna upload
worx?
</upload>
</verify>
</testcase>