summaryrefslogtreecommitdiff
path: root/tests/data/test196
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-27 21:29:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-27 21:29:55 +0000
commit96cf615e9dec951b2c4244780b5f3fe2fb303f5b (patch)
treed13920007225bdb8b7fde155db8a7f6fb1332b75 /tests/data/test196
parente9b3e1d0314b22b3db9879c891aaae117c7be4fb (diff)
downloadcurl-96cf615e9dec951b2c4244780b5f3fe2fb303f5b.tar.gz
Added --retry and --retry-delay first attempt with four related test cases.
Diffstat (limited to 'tests/data/test196')
-rw-r--r--tests/data/test19632
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/data/test196 b/tests/data/test196
new file mode 100644
index 000000000..06eeeb5f9
--- /dev/null
+++ b/tests/data/test196
@@ -0,0 +1,32 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP transient error, retry request once
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/196 --retry 1
+</command>
+<file name="log/ftpserver.cmd">
+REPLY PASS 530 temporarily not available
+</file>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+10
+</errorcode>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+USER anonymous
+PASS curl_by_daniel@haxx.se
+</protocol>
+</verify>