]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
two new FTP file transfer resume test cases added
authorDaniel Stenberg <daniel@haxx.se>
Fri, 11 May 2001 11:40:52 +0000 (11:40 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 May 2001 11:40:52 +0000 (11:40 +0000)
tests/data/Makefile.am
tests/data/command122.txt [new file with mode: 0644]
tests/data/command123.txt [new file with mode: 0644]
tests/data/name122.txt [new file with mode: 0644]
tests/data/name123.txt [new file with mode: 0644]
tests/data/prot122.txt [new file with mode: 0644]
tests/data/prot123.txt [new file with mode: 0644]
tests/data/reply122.txt [new file with mode: 0644]
tests/data/reply1220001.txt [new file with mode: 0644]
tests/data/reply123.txt [new file with mode: 0644]

index d601adb8c207affd4b74ee00d7b39827fcd8de71..6b6a1b1ffaba1b0ba8a2767d74658aea4df334af 100644 (file)
@@ -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 (file)
index 0000000..dc51f2e
--- /dev/null
@@ -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 (file)
index 0000000..fedf82f
--- /dev/null
@@ -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 (file)
index 0000000..d7bc58f
--- /dev/null
@@ -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 (file)
index 0000000..c198dd7
--- /dev/null
@@ -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 (file)
index 0000000..b74f26b
--- /dev/null
@@ -0,0 +1,6 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+PASV\r
+TYPE I\r
+SIZE 122\r
diff --git a/tests/data/prot123.txt b/tests/data/prot123.txt
new file mode 100644 (file)
index 0000000..7673491
--- /dev/null
@@ -0,0 +1,5 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+PASV\r
+TYPE I\r
diff --git a/tests/data/reply122.txt b/tests/data/reply122.txt
new file mode 100644 (file)
index 0000000..01d5cf2
--- /dev/null
@@ -0,0 +1 @@
+MOOO
diff --git a/tests/data/reply1220001.txt b/tests/data/reply1220001.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/data/reply123.txt b/tests/data/reply123.txt
new file mode 100644 (file)
index 0000000..e69de29