summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-10 19:55:22 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-10 19:02:39 +0000
commit85e944928cadb888d34d8cfadd31af77285f20c7 (patch)
treee2e3e8a95298f83f2203405e23f7ca785eb8c4f4 /tests/data
parent5a6464ae094688c6eecfc84178bf12eb6f21cfbe (diff)
downloadcurl-85e944928cadb888d34d8cfadd31af77285f20c7.tar.gz
email-tests: Updated the test data that corresponds to the test number
Finished segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test8004
-rw-r--r--tests/data/test8504
-rw-r--r--tests/data/test8516
-rw-r--r--tests/data/test8524
-rw-r--r--tests/data/test8554
-rw-r--r--tests/data/test8562
-rw-r--r--tests/data/test8574
-rw-r--r--tests/data/test9008
-rw-r--r--tests/data/test9016
-rw-r--r--tests/data/test9026
-rw-r--r--tests/data/test9036
-rw-r--r--tests/data/test9046
-rw-r--r--tests/data/test9056
-rw-r--r--tests/data/test9064
14 files changed, 35 insertions, 35 deletions
diff --git a/tests/data/test800 b/tests/data/test800
index d52829272..4c5726021 100644
--- a/tests/data/test800
+++ b/tests/data/test800
@@ -30,7 +30,7 @@ imap
IMAP FETCH
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/801/;UID=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
</command>
</client>
@@ -40,7 +40,7 @@ IMAP FETCH
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
-A003 SELECT 801
+A003 SELECT 800
A004 FETCH 1 BODY[]
A005 LOGOUT
</protocol>
diff --git a/tests/data/test850 b/tests/data/test850
index 2b7d057aa..b0d0e3dc4 100644
--- a/tests/data/test850
+++ b/tests/data/test850
@@ -30,7 +30,7 @@ pop3
POP3 RETR
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/800 -u user:secret
+pop3://%HOSTIP:%POP3PORT/850 -u user:secret
</command>
</client>
@@ -41,7 +41,7 @@ pop3://%HOSTIP:%POP3PORT/800 -u user:secret
CAPA
USER user
PASS secret
-RETR 800
+RETR 850
QUIT
</protocol>
</verify>
diff --git a/tests/data/test851 b/tests/data/test851
index 9027a5ab9..5ebb3a094 100644
--- a/tests/data/test851
+++ b/tests/data/test851
@@ -11,7 +11,7 @@ LIST
<reply>
<servercmd>
# include the '.\r\n' 3-byte trailer to end the transfer poperly!
-REPLY LIST +OK 808 100\r\n.
+REPLY LIST +OK 851 100\r\n.
</servercmd>
</reply>
@@ -25,7 +25,7 @@ pop3
POP3 LIST one message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/808 -l -u user:secret
+pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
</command>
</client>
@@ -36,7 +36,7 @@ pop3://%HOSTIP:%POP3PORT/808 -l -u user:secret
CAPA
USER user
PASS secret
-LIST 808
+LIST 851
QUIT
</protocol>
</verify>
diff --git a/tests/data/test852 b/tests/data/test852
index ffa9b3331..e07c172bc 100644
--- a/tests/data/test852
+++ b/tests/data/test852
@@ -25,7 +25,7 @@ pop3
POP3 LIST invalid message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/809 -l -u user:secret
+pop3://%HOSTIP:%POP3PORT/852 -l -u user:secret
</command>
</client>
@@ -39,7 +39,7 @@ pop3://%HOSTIP:%POP3PORT/809 -l -u user:secret
CAPA
USER user
PASS secret
-LIST 809
+LIST 852
QUIT
</protocol>
</verify>
diff --git a/tests/data/test855 b/tests/data/test855
index dbf40c491..bcbdf4816 100644
--- a/tests/data/test855
+++ b/tests/data/test855
@@ -25,7 +25,7 @@ pop3
POP3 RETR invalid message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/812 -u user:secret
+pop3://%HOSTIP:%POP3PORT/855 -u user:secret
</command>
</client>
@@ -39,7 +39,7 @@ pop3://%HOSTIP:%POP3PORT/812 -u user:secret
CAPA
USER user
PASS secret
-RETR 812
+RETR 855
QUIT
</protocol>
</verify>
diff --git a/tests/data/test856 b/tests/data/test856
index fac4aa0ef..7076cf6a9 100644
--- a/tests/data/test856
+++ b/tests/data/test856
@@ -24,7 +24,7 @@ pop3
POP3 invalid login
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/813 -u user:wrong
+pop3://%HOSTIP:%POP3PORT/856 -u user:wrong
</command>
</client>
diff --git a/tests/data/test857 b/tests/data/test857
index 261887f9b..716c49e89 100644
--- a/tests/data/test857
+++ b/tests/data/test857
@@ -41,7 +41,7 @@ pop3
POP3 RETR with dot-prefixed line
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/815 -u user:secret
+pop3://%HOSTIP:%POP3PORT/857 -u user:secret
</command>
</client>
@@ -52,7 +52,7 @@ pop3://%HOSTIP:%POP3PORT/815 -u user:secret
CAPA
USER user
PASS secret
-RETR 815
+RETR 857
QUIT
</protocol>
</verify>
diff --git a/tests/data/test900 b/tests/data/test900
index 12e46c9c3..2b6681b9e 100644
--- a/tests/data/test900
+++ b/tests/data/test900
@@ -26,7 +26,7 @@ To: another
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example --mail-from 802@from -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-rcpt 900@foobar.example --mail-from 900@from -T -
</command>
</client>
@@ -35,9 +35,9 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example
<verify>
<protocol>
EHLO user
-MAIL FROM:<802@from>
-RCPT TO:<802@foo>
-RCPT TO:<802@foobar.example>
+MAIL FROM:<900@from>
+RCPT TO:<900@foo>
+RCPT TO:<900@foobar.example>
DATA
QUIT
</protocol>
diff --git a/tests/data/test901 b/tests/data/test901
index a00ed7ab6..5617c6d73 100644
--- a/tests/data/test901
+++ b/tests/data/test901
@@ -32,7 +32,7 @@ To: another
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from '<803@from>' -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@foo --mail-from '<901@from>' -T -
</command>
</client>
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from '<803@from>' -T -
<verify>
<protocol>
EHLO user
-MAIL FROM:<803@from>
-RCPT TO:<803@foo>
+MAIL FROM:<901@from>
+RCPT TO:<901@foo>
DATA
QUIT
</protocol>
diff --git a/tests/data/test902 b/tests/data/test902
index cfacfc64f..5cb920c78 100644
--- a/tests/data/test902
+++ b/tests/data/test902
@@ -32,7 +32,7 @@ To: another
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@foo --mail-from 902@from -T -
</command>
</client>
@@ -42,8 +42,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
<protocol>
EHLO user
HELO user
-MAIL FROM:<804@from>
-RCPT TO:<804@foo>
+MAIL FROM:<902@from>
+RCPT TO:<902@foo>
DATA
QUIT
</protocol>
diff --git a/tests/data/test903 b/tests/data/test903
index d124e40e7..f9f2d0949 100644
--- a/tests/data/test903
+++ b/tests/data/test903
@@ -30,7 +30,7 @@ SMTP plain authentication
mail body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 805@foo --mail-from 805@from -u test:1234 -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1234 -T -
</command>
</client>
@@ -40,8 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 805@foo --mail-from 805@from -u test:1
<protocol>
EHLO user
AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ=
-MAIL FROM:<805@from>
-RCPT TO:<805@foo>
+MAIL FROM:<903@from>
+RCPT TO:<903@foo>
DATA
QUIT
</protocol>
diff --git a/tests/data/test904 b/tests/data/test904
index 9d1c98814..eaccae866 100644
--- a/tests/data/test904
+++ b/tests/data/test904
@@ -30,7 +30,7 @@ SMTP login authentication
mail body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1234 -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1234 -T -
</command>
</client>
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1
EHLO user
AUTH LOGIN dGVzdA==
MTIzNA==
-MAIL FROM:<806@from>
-RCPT TO:<806@foo>
+MAIL FROM:<904@from>
+RCPT TO:<904@foo>
DATA
QUIT
</protocol>
diff --git a/tests/data/test905 b/tests/data/test905
index 4165a1553..d58361903 100644
--- a/tests/data/test905
+++ b/tests/data/test905
@@ -34,7 +34,7 @@ SMTP CRAM-MD5 authentication
mail body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 807@foo --mail-from 807@from -u tim:tanstaaftanstaaf -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 905@foo --mail-from 905@from -u tim:tanstaaftanstaaf -T -
</command>
</client>
@@ -45,8 +45,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 807@foo --mail-from 807@from -u tim:ta
EHLO user
AUTH CRAM-MD5
dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
-MAIL FROM:<807@from>
-RCPT TO:<807@foo>
+MAIL FROM:<905@from>
+RCPT TO:<905@foo>
DATA
QUIT
</protocol>
diff --git a/tests/data/test906 b/tests/data/test906
index 1fc060777..da196009e 100644
--- a/tests/data/test906
+++ b/tests/data/test906
@@ -26,7 +26,7 @@ To: another
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 814@foo -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 906@foo -T -
</command>
</client>
@@ -36,7 +36,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 814@foo -T -
<protocol>
EHLO user
MAIL FROM:<>
-RCPT TO:<814@foo>
+RCPT TO:<906@foo>
DATA
QUIT
</protocol>