]> granicus.if.org Git - curl/commitdiff
added missing test
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 Aug 2006 22:18:08 +0000 (22:18 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 31 Aug 2006 22:18:08 +0000 (22:18 +0000)
tests/data/Makefile.am
tests/data/test525 [new file with mode: 0644]

index 233bf030096a98d53b70b3c4046d8ee3a270c11d..48038a66bec97241a7d7e3c4a39a77355a101a66 100644 (file)
@@ -34,5 +34,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46           \
  test250 test251 test252 test253 test254 test255 test521 test522 test523   \
  test256 test257 test258 test259 test260 test261 test262 test263 test264   \
  test265 test266 test267 test268 test269 test270 test271 test272 test273   \
- test274 test275 test524 test276 test277
+ test274 test275 test524 test525 test276 test277
 
diff --git a/tests/data/test525 b/tests/data/test525
new file mode 100644 (file)
index 0000000..d26490e
--- /dev/null
@@ -0,0 +1,55 @@
+<info>
+<keywords>
+FTP
+PORT
+STOR
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<tool>
+lib525
+</tool>
+ <name>
+FTP PORT upload using multi interface
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/path/525 log/upload525
+</command>
+<file name="log/upload525">
+Moooooooooooo
+ upload this
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^PORT .*
+^EPRT .*
+^LPRT .*
+</strip>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD path\r
+PORT 127,0,0,1,5,109\r
+TYPE I\r
+STOR 525\r
+QUIT\r
+</protocol>
+<upload>
+Moooooooooooo
+ upload this
+</upload>
+</verify>