xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | FTPS |
| 6 | FAILURE |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # Client-side |
| 11 | <client> |
| 12 | <features> |
| 13 | SSL |
| 14 | </features> |
| 15 | <server> |
| 16 | ftp |
| 17 | </server> |
| 18 | <name> |
| 19 | FTPS operation to FTP port |
| 20 | </name> |
| 21 | <command> |
| 22 | -m 5 -k ftps://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER |
| 23 | </command> |
| 24 | </client> |
| 25 | |
| 26 | # Verify data after the test has been "shot" |
| 27 | <verify> |
| 28 | # error code 35 is CURLE_SSL_CONNECT_ERROR |
| 29 | # GnuTLS seems to not fail on its handshake but instead times out which gives |
| 30 | # error 28 |
| 31 | <errorcode> |
| 32 | 35,28 |
| 33 | </errorcode> |
| 34 | </verify> |
| 35 | </testcase> |