mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
3fd80c7b59
The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
58 lines
670 B
Plaintext
58 lines
670 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
FTPS
|
|
EPSV
|
|
STOR
|
|
</keywords>
|
|
</info>
|
|
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
SSL
|
|
</features>
|
|
<server>
|
|
ftps
|
|
</server>
|
|
<name>
|
|
FTPS PASV upload file
|
|
</name>
|
|
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
|
data
|
|
to
|
|
see
|
|
that FTPS
|
|
works
|
|
so does it?
|
|
</file>
|
|
<command>
|
|
-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<upload>
|
|
data
|
|
to
|
|
see
|
|
that FTPS
|
|
works
|
|
so does it?
|
|
</upload>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PBSZ 0
|
|
PROT C
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
STOR %TESTNUMBER
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|