Commit a209c32b authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Resurrected old FTPS error tests 402 and 403 as 404 and 405.

parent 75db459f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -38,4 +38,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test530 DISABLED test278 test279 test531 test280 test529 test532 test533  \
 test534 test535 test281 test537 test282 test283 test284 test538 test285   \
 test286 test307 test308 test287 test400 test288 test600 test601 test602   \
 test603 test401 test402 test290 test291 test292 test293 test403
 test603 test401 test402 test290 test291 test292 test293 test403 test404   \
 test405

tests/data/test404

0 → 100644
+31 −0
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
FTPS
FAILURE
</keywords>
</info>

# Client-side
<client>
<features>
SSL
</features>
<server>
ftps
</server>
 <name>
FTPS with invalid cacert
 </name>
 <command>
--ftp-ssl-control --cacert moooo ftps://%HOSTIP:%FTPSPORT/
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<errorcode>
77
</errorcode>
</verify>
</testcase>

tests/data/test405

0 → 100644
+31 −0
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
FTPS
FAILURE
</keywords>
</info>

# Client-side
<client>
<features>
SSL
</features>
<server>
ftp
</server>
 <name>
FTPS operation to FTP port
 </name>
 <command>
-k ftps://%HOSTIP:%FTPPORT/path/to/file/405
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<errorcode>
35
</errorcode>
</verify>
</testcase>