summaryrefslogtreecommitdiff
path: root/tests/data/test112
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 15:50:56 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 15:50:56 -0700
commitd870ae30efffdb41cfd9cb0fe598e1dac2469f2a (patch)
tree3526a44b62a8b393fe80ad2628f50ba8ff94c4af /tests/data/test112
downloadcurl-d870ae30efffdb41cfd9cb0fe598e1dac2469f2a.tar.gz
curl-d870ae30efffdb41cfd9cb0fe598e1dac2469f2a.tar.bz2
curl-d870ae30efffdb41cfd9cb0fe598e1dac2469f2a.zip
Imported Upstream version 7.21.3upstream/7.21.3
Diffstat (limited to 'tests/data/test112')
-rw-r--r--tests/data/test11249
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/data/test112 b/tests/data/test112
new file mode 100644
index 000000000..eb3400c57
--- /dev/null
+++ b/tests/data/test112
@@ -0,0 +1,49 @@
+<testcase>
+<info>
+<keywords>
+FTP
+EPSV
+APPE
+Resume
+</keywords>
+</info>
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP PASV upload resume
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/112 -T log/upload112 -C 40
+</command>
+<file name="log/upload112">
+this is the *****crap******** that we're gonna upload
+
+worx?
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE I
+APPE 112
+QUIT
+</protocol>
+<upload>
+ gonna upload
+
+worx?
+</upload>
+</verify>
+</testcase>