diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-12-22 14:53:13 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-12-22 14:53:13 +0100 |
commit | e6d99f4ba70955ef25ccb8b44f18ba0e16a7a63e (patch) | |
tree | ab46d9269e7ac61f2c59cd09fdc84075bd96b2de /tests | |
parent | 16c4314a21c5918ddb90e537217e0a2406f2f410 (diff) | |
download | curl-e6d99f4ba70955ef25ccb8b44f18ba0e16a7a63e.tar.gz |
SMTP tests: updated MAIL FROM use
They were all wrong previously since none used the <brackets> they
should for MAIL FROM. Now libcurl adds them itself if the app doesn't so
they end up wrong less easy.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test802 | 2 | ||||
-rw-r--r-- | tests/data/test803 | 4 | ||||
-rw-r--r-- | tests/data/test804 | 2 | ||||
-rw-r--r-- | tests/data/test805 | 2 | ||||
-rw-r--r-- | tests/data/test806 | 2 | ||||
-rw-r--r-- | tests/data/test807 | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/data/test802 b/tests/data/test802 index 7027c802d..12e46c9c3 100644 --- a/tests/data/test802 +++ b/tests/data/test802 @@ -35,7 +35,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example <verify> <protocol> EHLO user
-MAIL FROM:802@from
+MAIL FROM:<802@from>
RCPT TO:<802@foo>
RCPT TO:<802@foobar.example>
DATA
diff --git a/tests/data/test803 b/tests/data/test803 index 24ff0d001..a00ed7ab6 100644 --- a/tests/data/test803 +++ b/tests/data/test803 @@ -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 803@foo --mail-from '<803@from>' -T - </command> </client> @@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T - <verify> <protocol> EHLO user
-MAIL FROM:803@from
+MAIL FROM:<803@from>
RCPT TO:<803@foo>
DATA
QUIT
diff --git a/tests/data/test804 b/tests/data/test804 index 3d490c52b..cfacfc64f 100644 --- a/tests/data/test804 +++ b/tests/data/test804 @@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T - <protocol> EHLO user
HELO user
-MAIL FROM:804@from
+MAIL FROM:<804@from>
RCPT TO:<804@foo>
DATA
QUIT
diff --git a/tests/data/test805 b/tests/data/test805 index fba5124f3..4595221c9 100644 --- a/tests/data/test805 +++ b/tests/data/test805 @@ -40,7 +40,7 @@ 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
+MAIL FROM:<805@from>
RCPT TO:<805@foo>
DATA
QUIT
diff --git a/tests/data/test806 b/tests/data/test806 index 8ece5dc8c..b71ac5cce 100644 --- a/tests/data/test806 +++ b/tests/data/test806 @@ -41,7 +41,7 @@ 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
+MAIL FROM:<806@from>
RCPT TO:<806@foo>
DATA
QUIT
diff --git a/tests/data/test807 b/tests/data/test807 index 6daa1d02b..d171ffabc 100644 --- a/tests/data/test807 +++ b/tests/data/test807 @@ -45,7 +45,7 @@ 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
+MAIL FROM:<807@from>
RCPT TO:<807@foo>
DATA
QUIT
|