curl/tests/data/test405
Viktor Szakats c6bd2e6a9a
tests: prefer --insecure over -k
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
2025-04-03 23:18:55 +02:00

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>