mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
To make it uniform in all tests, and greppability. Also: - replace `-k` flag with `-q` in test 1268. (the actual flag doesn't matter in this test) - keep `-k` in test 300 to test its short form. (also verified to fail without a working `-k`) Closes #16878
36 lines
518 B
Plaintext
36 lines
518 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
FTPS
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
SSL
|
|
</features>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTPS operation to FTP port
|
|
</name>
|
|
<command>
|
|
-m 5 --insecure ftps://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# error code 35 is CURLE_SSL_CONNECT_ERROR
|
|
# GnuTLS seems to not fail on its handshake but instead times out which gives
|
|
# error 28
|
|
<errorcode>
|
|
35,28
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|