mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
33bea767eb
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
38 lines
441 B
Plaintext
38 lines
441 B
Plaintext
<testcase>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
bla bla bla
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP URL with type=a
|
|
</name>
|
|
<command>
|
|
"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/143;type=a"
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS curl_by_daniel@haxx.se
|
|
PWD
|
|
CWD /tmp
|
|
CWD moo
|
|
EPSV
|
|
TYPE A
|
|
SIZE 143
|
|
RETR 143
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|