aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/command100.txt1
-rw-r--r--tests/data/command101.txt3
-rw-r--r--tests/data/command102.txt1
-rw-r--r--tests/data/command103.txt4
-rw-r--r--tests/data/name100.txt1
-rw-r--r--tests/data/name101.txt2
-rw-r--r--tests/data/name102.txt1
-rw-r--r--tests/data/name103.txt1
-rw-r--r--tests/data/prot100.txt5
-rw-r--r--tests/data/prot101.txt5
-rw-r--r--tests/data/prot102.txt5
-rw-r--r--tests/data/prot103.txt6
-rw-r--r--tests/data/reply100.txt11
-rw-r--r--tests/data/reply101.txt11
-rw-r--r--tests/data/reply102.txt6
-rw-r--r--tests/data/reply103.txt6
16 files changed, 69 insertions, 0 deletions
diff --git a/tests/data/command100.txt b/tests/data/command100.txt
new file mode 100644
index 000000000..a3a4452cc
--- /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 000000000..83e26f27f
--- /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 000000000..f3e870e6e
--- /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 000000000..3f327fd9d
--- /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 000000000..148cedd73
--- /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 000000000..a15e89253
--- /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 000000000..87c1fe763
--- /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 000000000..b6dff0fb4
--- /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 000000000..d7ce21977
--- /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 000000000..7fd492d56
--- /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 000000000..373c189d2
--- /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 000000000..42e857e42
--- /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 000000000..1baaf9385
--- /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 000000000..1baaf9385
--- /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 000000000..0cfa203dd
--- /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 000000000..0cfa203dd
--- /dev/null
+++ b/tests/data/reply103.txt
@@ -0,0 +1,6 @@
+data
+ to
+ see
+that FTP
+works
+ so does it?