aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-11 11:40:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-11 11:40:52 +0000
commita3a2d200fada49e21d4877f20b6474cafe959a0f (patch)
treeb11fee237d93fec0ef80fa1b5810eee1e7c60786
parent4c2ca97d6d50ec9ea48893659a8af6de954e26dd (diff)
two new FTP file transfer resume test cases added
-rw-r--r--tests/data/Makefile.am4
-rw-r--r--tests/data/command122.txt1
-rw-r--r--tests/data/command123.txt1
-rw-r--r--tests/data/name122.txt1
-rw-r--r--tests/data/name123.txt1
-rw-r--r--tests/data/prot122.txt6
-rw-r--r--tests/data/prot123.txt5
-rw-r--r--tests/data/reply122.txt1
-rw-r--r--tests/data/reply1220001.txt0
-rw-r--r--tests/data/reply123.txt0
10 files changed, 19 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index d601adb8c..6b6a1b1ff 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -68,4 +68,6 @@ command35.txt name35.txt prot35.txt reply35.txt \
command36.txt error36.txt name36.txt reply36.txt \
command37.txt name37.txt prot37.txt reply37.txt stunnel.pem \
command38.txt prot38.txt reply380001.txt name38.txt reply38.txt \
-command39.txt prot39.txt reply390001.txt name39.txt reply39.txt reply390002.txt
+command39.txt prot39.txt reply390001.txt name39.txt reply39.txt \
+reply390002.txt command122.txt reply122.txt name123.txt name122.txt \
+reply1220001.txt prot123.txt prot122.txt command123.txt reply123.txt
diff --git a/tests/data/command122.txt b/tests/data/command122.txt
new file mode 100644
index 000000000..dc51f2e68
--- /dev/null
+++ b/tests/data/command122.txt
@@ -0,0 +1 @@
+ftp://%HOSTIP:%FTPPORT/122 -C 5
diff --git a/tests/data/command123.txt b/tests/data/command123.txt
new file mode 100644
index 000000000..fedf82f06
--- /dev/null
+++ b/tests/data/command123.txt
@@ -0,0 +1 @@
+ftp://%HOSTIP:%FTPPORT/107 -T data/reply106.txt -C 51
diff --git a/tests/data/name122.txt b/tests/data/name122.txt
new file mode 100644
index 000000000..d7bc58f0a
--- /dev/null
+++ b/tests/data/name122.txt
@@ -0,0 +1 @@
+FTP download resume with whole file already downloaded
diff --git a/tests/data/name123.txt b/tests/data/name123.txt
new file mode 100644
index 000000000..c198dd71f
--- /dev/null
+++ b/tests/data/name123.txt
@@ -0,0 +1 @@
+FTP upload resume with whole file already uploaded
diff --git a/tests/data/prot122.txt b/tests/data/prot122.txt
new file mode 100644
index 000000000..b74f26b4b
--- /dev/null
+++ b/tests/data/prot122.txt
@@ -0,0 +1,6 @@
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PASV
+TYPE I
+SIZE 122
diff --git a/tests/data/prot123.txt b/tests/data/prot123.txt
new file mode 100644
index 000000000..7673491d4
--- /dev/null
+++ b/tests/data/prot123.txt
@@ -0,0 +1,5 @@
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PASV
+TYPE I
diff --git a/tests/data/reply122.txt b/tests/data/reply122.txt
new file mode 100644
index 000000000..01d5cf225
--- /dev/null
+++ b/tests/data/reply122.txt
@@ -0,0 +1 @@
+MOOO
diff --git a/tests/data/reply1220001.txt b/tests/data/reply1220001.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/data/reply1220001.txt
diff --git a/tests/data/reply123.txt b/tests/data/reply123.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/data/reply123.txt