aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-13 01:45:59 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-13 01:45:59 +0000
commitd1f063c62de80d755b7b59968c356f8c5fcb0017 (patch)
tree4934cf0eeff415ce81676d0f83f37aa05b11aa7a /tests
parentb686dc491107b893ec0e02a41ffdba3180a4796a (diff)
Shortened some FTP responses to allow the timeout to be reduced by a second
while still causing a timeout during the data phase.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test10868
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/data/test1086 b/tests/data/test1086
index 1832a305d..be388a340 100644
--- a/tests/data/test1086
+++ b/tests/data/test1086
@@ -11,8 +11,14 @@ FAILURE
# Server-side
<reply>
+# Overload some standard FTP responses to make them shorter and faster
+# to avoid wasting time waiting for the data phase to start
<servercmd>
SLOWDOWN
+REPLY USER 331 OK
+REPLY PASS 230 OK
+REPLY PWD 257 "/"
+REPLY TYPE 200 OK
</servercmd>
<data nocheck="yes">
Long chunk of data that couldn't possibly be sent in the time allotted.
@@ -54,7 +60,7 @@ ftp
FTP download with strict timeout and slow data transfer
</name>
<command timeout="1">
-ftp://%HOSTIP:%FTPPORT/1086 -m 7
+ftp://%HOSTIP:%FTPPORT/1086 -m 6
</command>
</client>