aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test101
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-06-12 09:12:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-06-12 09:12:59 +0000
commit6475600afa57c777aa10187c3d1c49fc5f4bf7f5 (patch)
treeb5b0ea5b3433aab8a3c89ba20e07995398f98de9 /tests/data/test101
parente450888b15571375d5cf3e26c3b164f6bf297183 (diff)
New test cases added
Diffstat (limited to 'tests/data/test101')
-rw-r--r--tests/data/test10141
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test101 b/tests/data/test101
new file mode 100644
index 000000000..ea9b9b891
--- /dev/null
+++ b/tests/data/test101
@@ -0,0 +1,41 @@
+# Server-side
+<reply>
+<data>
+total 20
+drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
+drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
+drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
+-r--r--r-- 1 0 1 35 Jul 16 1996 README
+lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
+dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
+drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
+dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
+drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
+dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP dir list, PORT with specified IP
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^PORT 127,0,0,1,.*
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PORT 127,0,0,1,243,212
+TYPE A
+LIST
+</protocol>
+</verify>