aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test511
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-14 06:30:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-14 06:30:37 +0000
commitaba6c2b89d96f661c2b4d77fc925b47921008e3d (patch)
treecfba0ca73a324d4b83960e849c8f9aa0fcb3de8a /tests/data/test511
parent9c0a386246f2fc073419425a231c9a58cee77952 (diff)
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
in ftp.c", but it shows no leaking.
Diffstat (limited to 'tests/data/test511')
-rw-r--r--tests/data/test51135
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test511 b/tests/data/test511
new file mode 100644
index 000000000..724c568e4
--- /dev/null
+++ b/tests/data/test511
@@ -0,0 +1,35 @@
+#
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+# tool is what to use instead of 'curl'
+<tool>
+lib511
+</tool>
+
+ <name>
+FTP with FILETIME and NOBODY but missing file
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/511
+</command>
+<file name="log/ftpserver.cmd">
+REPLY MDTM 550 bluah you f00l!
+REPLY SIZE 550 bluah you f00l!
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+# CURLE_FTP_COULDNT_RETR_FILE
+<errorcode>
+19
+</errorcode>
+</verify>