aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test289
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-07-10 22:23:16 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-07-10 22:23:16 +0000
commit93bd5123571092b2ccf925ca00cfe107e00f9f68 (patch)
treed2e41770649c319136584e86c977da41bf781fe3 /tests/data/test289
parent04d3a8c7144128de2886443f66c80263713b3d9e (diff)
Fixed a curl memory leak reported by Song Ma with a modified version
of the patch he suggested. Added his test case as test289 to verify.
Diffstat (limited to 'tests/data/test289')
-rw-r--r--tests/data/test28930
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/test289 b/tests/data/test289
new file mode 100644
index 000000000..63184e737
--- /dev/null
+++ b/tests/data/test289
@@ -0,0 +1,30 @@
+<testcase>
+<info>
+<keywords>
+FTP
+STOR
+Resume
+FAILURE
+</keywords>
+</info>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP resume upload but denied access to remote file
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/289 -T log/illegal-nonexistent-file -C -
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+26
+</errorcode>
+</verify>
+</testcase>