FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
This commit is contained in:
@@ -21,7 +21,7 @@ REPLY USER 314 bluah you fewl!
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
12
|
||||
67
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
|
||||
@@ -21,7 +21,7 @@ REPLY PASS 314 bluah you f00l!
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
11
|
||||
67
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
|
||||
@@ -15,7 +15,7 @@ ftp
|
||||
FTP download with strict timeout and slow CWD
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/path/to/file/126 -m 3
|
||||
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m 3
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
DELAY CWD 15
|
||||
@@ -24,6 +24,7 @@ DELAY CWD 15
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# 28 is CURLE_OPERATION_TIMEOUTED
|
||||
<errorcode>
|
||||
28
|
||||
</errorcode>
|
||||
|
||||
@@ -21,7 +21,7 @@ REPLY PASS 530 temporarily not available
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
10
|
||||
67
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
|
||||
@@ -20,8 +20,9 @@ REPLY PASS 530 temporarily not available
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# 67 is CURLE_LOGIN_DENIED
|
||||
<errorcode>
|
||||
10
|
||||
67
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
|
||||
Reference in New Issue
Block a user