From a3a2d200fada49e21d4877f20b6474cafe959a0f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 May 2001 11:40:52 +0000 Subject: two new FTP file transfer resume test cases added --- tests/data/Makefile.am | 4 +++- tests/data/command122.txt | 1 + tests/data/command123.txt | 1 + tests/data/name122.txt | 1 + tests/data/name123.txt | 1 + tests/data/prot122.txt | 6 ++++++ tests/data/prot123.txt | 5 +++++ tests/data/reply122.txt | 1 + tests/data/reply1220001.txt | 0 tests/data/reply123.txt | 0 10 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tests/data/command122.txt create mode 100644 tests/data/command123.txt create mode 100644 tests/data/name122.txt create mode 100644 tests/data/name123.txt create mode 100644 tests/data/prot122.txt create mode 100644 tests/data/prot123.txt create mode 100644 tests/data/reply122.txt create mode 100644 tests/data/reply1220001.txt create mode 100644 tests/data/reply123.txt (limited to 'tests/data') 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 diff --git a/tests/data/reply123.txt b/tests/data/reply123.txt new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3