From b82fa8d9597ef276471442c6396594c2eb1a0bbd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 Nov 2000 17:04:59 +0000 Subject: [PATCH] FTP test case data --- tests/data/command100.txt | 1 + tests/data/command101.txt | 3 +++ tests/data/command102.txt | 1 + tests/data/command103.txt | 4 ++++ tests/data/name100.txt | 1 + tests/data/name101.txt | 2 ++ tests/data/name102.txt | 1 + tests/data/name103.txt | 1 + tests/data/prot100.txt | 5 +++++ tests/data/prot101.txt | 5 +++++ tests/data/prot102.txt | 5 +++++ tests/data/prot103.txt | 6 ++++++ tests/data/reply100.txt | 11 +++++++++++ tests/data/reply101.txt | 11 +++++++++++ tests/data/reply102.txt | 6 ++++++ tests/data/reply103.txt | 6 ++++++ 16 files changed, 69 insertions(+) create mode 100644 tests/data/command100.txt create mode 100644 tests/data/command101.txt create mode 100644 tests/data/command102.txt create mode 100644 tests/data/command103.txt create mode 100644 tests/data/name100.txt create mode 100644 tests/data/name101.txt create mode 100644 tests/data/name102.txt create mode 100644 tests/data/name103.txt create mode 100644 tests/data/prot100.txt create mode 100644 tests/data/prot101.txt create mode 100644 tests/data/prot102.txt create mode 100644 tests/data/prot103.txt create mode 100644 tests/data/reply100.txt create mode 100644 tests/data/reply101.txt create mode 100644 tests/data/reply102.txt create mode 100644 tests/data/reply103.txt diff --git a/tests/data/command100.txt b/tests/data/command100.txt new file mode 100644 index 0000000..a3a4452 --- /dev/null +++ b/tests/data/command100.txt @@ -0,0 +1 @@ +ftp://%HOSTIP:%FTPPORT/ diff --git a/tests/data/command101.txt b/tests/data/command101.txt new file mode 100644 index 0000000..83e26f2 --- /dev/null +++ b/tests/data/command101.txt @@ -0,0 +1,3 @@ +ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP + + diff --git a/tests/data/command102.txt b/tests/data/command102.txt new file mode 100644 index 0000000..f3e870e --- /dev/null +++ b/tests/data/command102.txt @@ -0,0 +1 @@ +ftp://%HOSTIP:%FTPPORT/102 diff --git a/tests/data/command103.txt b/tests/data/command103.txt new file mode 100644 index 0000000..3f327fd --- /dev/null +++ b/tests/data/command103.txt @@ -0,0 +1,4 @@ +ftp://%HOSTIP:%FTPPORT/a/path/103 -P - + + + diff --git a/tests/data/name100.txt b/tests/data/name100.txt new file mode 100644 index 0000000..148cedd --- /dev/null +++ b/tests/data/name100.txt @@ -0,0 +1 @@ +FTP dir list PASV diff --git a/tests/data/name101.txt b/tests/data/name101.txt new file mode 100644 index 0000000..a15e892 --- /dev/null +++ b/tests/data/name101.txt @@ -0,0 +1,2 @@ +FTP dir list, PORT with specified IP + diff --git a/tests/data/name102.txt b/tests/data/name102.txt new file mode 100644 index 0000000..87c1fe7 --- /dev/null +++ b/tests/data/name102.txt @@ -0,0 +1 @@ +FTP RETR PASV diff --git a/tests/data/name103.txt b/tests/data/name103.txt new file mode 100644 index 0000000..b6dff0f --- /dev/null +++ b/tests/data/name103.txt @@ -0,0 +1 @@ +FTP RETR PORT with CWD diff --git a/tests/data/prot100.txt b/tests/data/prot100.txt new file mode 100644 index 0000000..d7ce219 --- /dev/null +++ b/tests/data/prot100.txt @@ -0,0 +1,5 @@ +USER anonymous +PASS curl_by_daniel@haxx.se +PASV +TYPE A +LIST diff --git a/tests/data/prot101.txt b/tests/data/prot101.txt new file mode 100644 index 0000000..7fd492d --- /dev/null +++ b/tests/data/prot101.txt @@ -0,0 +1,5 @@ +USER anonymous +PASS curl_by_daniel@haxx.se +PORT 127,0,0,1,243,212 +TYPE A +LIST diff --git a/tests/data/prot102.txt b/tests/data/prot102.txt new file mode 100644 index 0000000..373c189 --- /dev/null +++ b/tests/data/prot102.txt @@ -0,0 +1,5 @@ +USER anonymous +PASS curl_by_daniel@haxx.se +PASV +TYPE I +RETR 102 diff --git a/tests/data/prot103.txt b/tests/data/prot103.txt new file mode 100644 index 0000000..42e857e --- /dev/null +++ b/tests/data/prot103.txt @@ -0,0 +1,6 @@ +USER anonymous +PASS curl_by_daniel@haxx.se +CWD a/path/ +PORT 127,0,0,1,246,33 +TYPE I +RETR 103 diff --git a/tests/data/reply100.txt b/tests/data/reply100.txt new file mode 100644 index 0000000..1baaf93 --- /dev/null +++ b/tests/data/reply100.txt @@ -0,0 +1,11 @@ +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 diff --git a/tests/data/reply101.txt b/tests/data/reply101.txt new file mode 100644 index 0000000..1baaf93 --- /dev/null +++ b/tests/data/reply101.txt @@ -0,0 +1,11 @@ +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 diff --git a/tests/data/reply102.txt b/tests/data/reply102.txt new file mode 100644 index 0000000..0cfa203 --- /dev/null +++ b/tests/data/reply102.txt @@ -0,0 +1,6 @@ +data + to + see +that FTP +works + so does it? diff --git a/tests/data/reply103.txt b/tests/data/reply103.txt new file mode 100644 index 0000000..0cfa203 --- /dev/null +++ b/tests/data/reply103.txt @@ -0,0 +1,6 @@ +data + to + see +that FTP +works + so does it? -- 2.7.4