From e86f3b9144bc9b6a75c24bb8ffc8cc09ac14facd Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 27 Nov 2000 12:52:36 +0000
Subject: [PATCH] ftp graceful error detection check data

---
 tests/data/command113.txt | 2 ++
 tests/data/command114.txt | 2 ++
 tests/data/command115.txt | 2 ++
 tests/data/command116.txt | 2 ++
 tests/data/command117.txt | 3 +++
 tests/data/command118.txt | 3 +++
 tests/data/command119.txt | 3 +++
 tests/data/error113.txt   | 1 +
 tests/data/error114.txt   | 1 +
 tests/data/error115.txt   | 1 +
 tests/data/error116.txt   | 1 +
 tests/data/error117.txt   | 1 +
 tests/data/error118.txt   | 1 +
 tests/data/error119.txt   | 1 +
 tests/data/ftpd113.txt    | 1 +
 tests/data/ftpd114.txt    | 1 +
 tests/data/ftpd115.txt    | 1 +
 tests/data/ftpd116.txt    | 1 +
 tests/data/ftpd117.txt    | 1 +
 tests/data/ftpd118.txt    | 1 +
 tests/data/name113.txt    | 1 +
 tests/data/name114.txt    | 1 +
 tests/data/name115.txt    | 1 +
 tests/data/name116.txt    | 1 +
 tests/data/name117.txt    | 1 +
 tests/data/name118.txt    | 1 +
 tests/data/name119.txt    | 1 +
 27 files changed, 37 insertions(+)
 create mode 100644 tests/data/command113.txt
 create mode 100644 tests/data/command114.txt
 create mode 100644 tests/data/command115.txt
 create mode 100644 tests/data/command116.txt
 create mode 100644 tests/data/command117.txt
 create mode 100644 tests/data/command118.txt
 create mode 100644 tests/data/command119.txt
 create mode 100644 tests/data/error113.txt
 create mode 100644 tests/data/error114.txt
 create mode 100644 tests/data/error115.txt
 create mode 100644 tests/data/error116.txt
 create mode 100644 tests/data/error117.txt
 create mode 100644 tests/data/error118.txt
 create mode 100644 tests/data/error119.txt
 create mode 100644 tests/data/ftpd113.txt
 create mode 100644 tests/data/ftpd114.txt
 create mode 100644 tests/data/ftpd115.txt
 create mode 100644 tests/data/ftpd116.txt
 create mode 100644 tests/data/ftpd117.txt
 create mode 100644 tests/data/ftpd118.txt
 create mode 100644 tests/data/name113.txt
 create mode 100644 tests/data/name114.txt
 create mode 100644 tests/data/name115.txt
 create mode 100644 tests/data/name116.txt
 create mode 100644 tests/data/name117.txt
 create mode 100644 tests/data/name118.txt
 create mode 100644 tests/data/name119.txt

diff --git a/tests/data/command113.txt b/tests/data/command113.txt
new file mode 100644
index 0000000000..e05b40f717
--- /dev/null
+++ b/tests/data/command113.txt
@@ -0,0 +1,2 @@
+ftp://%HOSTIP:%FTPPORT/113
+
diff --git a/tests/data/command114.txt b/tests/data/command114.txt
new file mode 100644
index 0000000000..e5d0a39759
--- /dev/null
+++ b/tests/data/command114.txt
@@ -0,0 +1,2 @@
+ftp://%HOSTIP:%FTPPORT/114
+
diff --git a/tests/data/command115.txt b/tests/data/command115.txt
new file mode 100644
index 0000000000..c5bf53cd4b
--- /dev/null
+++ b/tests/data/command115.txt
@@ -0,0 +1,2 @@
+ftp://%HOSTIP:%FTPPORT/115
+
diff --git a/tests/data/command116.txt b/tests/data/command116.txt
new file mode 100644
index 0000000000..515420314c
--- /dev/null
+++ b/tests/data/command116.txt
@@ -0,0 +1,2 @@
+ftp://%HOSTIP:%FTPPORT/116 -P -
+
diff --git a/tests/data/command117.txt b/tests/data/command117.txt
new file mode 100644
index 0000000000..8d9f56900b
--- /dev/null
+++ b/tests/data/command117.txt
@@ -0,0 +1,3 @@
+ftp://%HOSTIP:%FTPPORT/117
+
+
diff --git a/tests/data/command118.txt b/tests/data/command118.txt
new file mode 100644
index 0000000000..e4484f7f07
--- /dev/null
+++ b/tests/data/command118.txt
@@ -0,0 +1,3 @@
+ftp://%HOSTIP:%FTPPORT/118
+
+
diff --git a/tests/data/command119.txt b/tests/data/command119.txt
new file mode 100644
index 0000000000..a4bba0802b
--- /dev/null
+++ b/tests/data/command119.txt
@@ -0,0 +1,3 @@
+ftp://%HOSTIP:%FTPPORT/119 -P -
+
+
diff --git a/tests/data/error113.txt b/tests/data/error113.txt
new file mode 100644
index 0000000000..48082f72f0
--- /dev/null
+++ b/tests/data/error113.txt
@@ -0,0 +1 @@
+12
diff --git a/tests/data/error114.txt b/tests/data/error114.txt
new file mode 100644
index 0000000000..b4de394767
--- /dev/null
+++ b/tests/data/error114.txt
@@ -0,0 +1 @@
+11
diff --git a/tests/data/error115.txt b/tests/data/error115.txt
new file mode 100644
index 0000000000..b1bd38b62a
--- /dev/null
+++ b/tests/data/error115.txt
@@ -0,0 +1 @@
+13
diff --git a/tests/data/error116.txt b/tests/data/error116.txt
new file mode 100644
index 0000000000..64bb6b746d
--- /dev/null
+++ b/tests/data/error116.txt
@@ -0,0 +1 @@
+30
diff --git a/tests/data/error117.txt b/tests/data/error117.txt
new file mode 100644
index 0000000000..98d9bcb75a
--- /dev/null
+++ b/tests/data/error117.txt
@@ -0,0 +1 @@
+17
diff --git a/tests/data/error118.txt b/tests/data/error118.txt
new file mode 100644
index 0000000000..d6b24041cf
--- /dev/null
+++ b/tests/data/error118.txt
@@ -0,0 +1 @@
+19
diff --git a/tests/data/error119.txt b/tests/data/error119.txt
new file mode 100644
index 0000000000..d6b24041cf
--- /dev/null
+++ b/tests/data/error119.txt
@@ -0,0 +1 @@
+19
diff --git a/tests/data/ftpd113.txt b/tests/data/ftpd113.txt
new file mode 100644
index 0000000000..fae041d821
--- /dev/null
+++ b/tests/data/ftpd113.txt
@@ -0,0 +1 @@
+REPLY USER 314 bluah you fewl!
diff --git a/tests/data/ftpd114.txt b/tests/data/ftpd114.txt
new file mode 100644
index 0000000000..ce23059aaa
--- /dev/null
+++ b/tests/data/ftpd114.txt
@@ -0,0 +1 @@
+REPLY PASS 314 bluah you fewl!
diff --git a/tests/data/ftpd115.txt b/tests/data/ftpd115.txt
new file mode 100644
index 0000000000..b8034dd5b4
--- /dev/null
+++ b/tests/data/ftpd115.txt
@@ -0,0 +1 @@
+REPLY PASV 314 bluah you fewl!
diff --git a/tests/data/ftpd116.txt b/tests/data/ftpd116.txt
new file mode 100644
index 0000000000..83d10d5fa6
--- /dev/null
+++ b/tests/data/ftpd116.txt
@@ -0,0 +1 @@
+REPLY PORT 314 bluah you fewl!
diff --git a/tests/data/ftpd117.txt b/tests/data/ftpd117.txt
new file mode 100644
index 0000000000..28bca4f9fc
--- /dev/null
+++ b/tests/data/ftpd117.txt
@@ -0,0 +1 @@
+REPLY TYPE 314 bluah you fewl!
diff --git a/tests/data/ftpd118.txt b/tests/data/ftpd118.txt
new file mode 100644
index 0000000000..422e871c88
--- /dev/null
+++ b/tests/data/ftpd118.txt
@@ -0,0 +1 @@
+REPLY RETR 314 bluah you fewl!
diff --git a/tests/data/name113.txt b/tests/data/name113.txt
new file mode 100644
index 0000000000..69ed5a8f48
--- /dev/null
+++ b/tests/data/name113.txt
@@ -0,0 +1 @@
+FTP download, failed login
diff --git a/tests/data/name114.txt b/tests/data/name114.txt
new file mode 100644
index 0000000000..71b8f97ccd
--- /dev/null
+++ b/tests/data/name114.txt
@@ -0,0 +1 @@
+FTP download, failed PASS
diff --git a/tests/data/name115.txt b/tests/data/name115.txt
new file mode 100644
index 0000000000..d65a8a3935
--- /dev/null
+++ b/tests/data/name115.txt
@@ -0,0 +1 @@
+FTP download, failed PASV
diff --git a/tests/data/name116.txt b/tests/data/name116.txt
new file mode 100644
index 0000000000..7bf987bb97
--- /dev/null
+++ b/tests/data/name116.txt
@@ -0,0 +1 @@
+FTP download, failed PORT
diff --git a/tests/data/name117.txt b/tests/data/name117.txt
new file mode 100644
index 0000000000..1ef7cf9b0c
--- /dev/null
+++ b/tests/data/name117.txt
@@ -0,0 +1 @@
+FTP download, failed TYPE
diff --git a/tests/data/name118.txt b/tests/data/name118.txt
new file mode 100644
index 0000000000..3540f40d00
--- /dev/null
+++ b/tests/data/name118.txt
@@ -0,0 +1 @@
+FTP download, failed RETR
diff --git a/tests/data/name119.txt b/tests/data/name119.txt
new file mode 100644
index 0000000000..55bc99b516
--- /dev/null
+++ b/tests/data/name119.txt
@@ -0,0 +1 @@
+FTP download, failed RETR with PORT
-- 
GitLab