Skip to content
Snippets Groups Projects
Commit a33c53a3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Removed the FTPS test cases, they only annoy us as they don't work for anyone

anywhere. We need to write a better ftps-server for test purposes and then
we can re-introduced FTPS tests.
parent 2370d4fa
No related branches found
No related tags found
No related merge requests found
#
# Server-side
<reply name="1">
<data>
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data>
</reply>
#
# Client-side
<client>
<server>
ftps
</server>
<name>
FTPS dir list PASV
</name>
<command>
-k ftps://%HOSTIP:%FTPSPORT/
</command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
</test>
#
# Verify data after the test has been "shot"
<verify>
<strip>
filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
EPSV
PASV
TYPE A
LIST
</protocol>
</verify>
# Server-side
<reply>
moooooooo
</reply>
# Client-side
<client>
<server>
ftps
</server>
<name>
FTPS download with strict timeout and slow CWD
</name>
<command>
-k ftps://%HOSTIP:%FTPSPORT/path/to/file/401 -m 4
</command>
<file name="log/ftpserver.cmd">
DELAY CWD 15
</file>
</test>
# Verify data after the test has been "shot"
<verify>
<errorcode>
28
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD path
</protocol>
</verify>
# Server-side
<reply>
moooooooo
</reply>
# Client-side
<client>
<server>
ftps
</server>
<killserver>
ftp
</killserver>
<name>
FTPS operation to FTP port
</name>
<command>
-k ftps://%HOSTIP:%FTPPORT/path/to/file/402
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
35
</errorcode>
</verify>
#
# Server-side
<reply name="1">
<data>
</data>
</reply>
#
# Client-side
<client>
<server>
ftps
</server>
<name>
insecure FTPS without permission
</name>
<command>
ftps://%HOSTIP:%FTPSPORT/403 --cacert foo
</command>
</test>
#
# Verify data after the test has been "shot"
<verify>
<strip>
filter off really nothing
</strip>
<errorcode>
60
</errorcode>
<protocol>
</protocol>
</verify>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment