summaryrefslogtreecommitdiff
path: root/tests/data/test100
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-23 15:00:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-23 15:00:48 +0000
commit58c3bdc1a4617aa16fc0f5e2be0655b3ff1e8809 (patch)
treec4be81e435b3875b7c4cd88a06be2d7c2021cc6a /tests/data/test100
parent72dec6cfecf9db0b589da7e3b4fc101938298bb1 (diff)
downloadcurl-58c3bdc1a4617aa16fc0f5e2be0655b3ff1e8809.tar.gz
new test case file format
Diffstat (limited to 'tests/data/test100')
-rw-r--r--tests/data/test10044
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test100 b/tests/data/test100
new file mode 100644
index 000000000..3f81d6bdb
--- /dev/null
+++ b/tests/data/test100
@@ -0,0 +1,44 @@
+#
+# Server-side
+<reply name="1">
+<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 PASV
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/
+</command>
+</test>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+filter off really nothing
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PASV
+TYPE A
+LIST
+</protocol>
+</verify>