summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl-7.19.0/tests/data/test190
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl-7.19.0/tests/data/test190')
-rw-r--r--Utilities/cmcurl-7.19.0/tests/data/test19038
1 files changed, 38 insertions, 0 deletions
diff --git a/Utilities/cmcurl-7.19.0/tests/data/test190 b/Utilities/cmcurl-7.19.0/tests/data/test190
new file mode 100644
index 0000000..ab0dfd7
--- /dev/null
+++ b/Utilities/cmcurl-7.19.0/tests/data/test190
@@ -0,0 +1,38 @@
+<testcase>
+# Server-side
+<reply>
+<servercmd>
+DELAY CWD 60
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<killserver>
+ftp
+</killserver>
+ <name>
+FTP download with strict timeout and slow CWD
+ </name>
+ <command timeout="1">
+ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+# 28 is CURLE_OPERATION_TIMEDOUT
+<errorcode>
+28
+</errorcode>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+CWD path
+</protocol>
+</verify>
+</testcase>