summaryrefslogtreecommitdiff
path: root/tests/data/test906
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-28 16:12:40 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-28 16:14:58 +0100
commitf317ffb7bbd18428ab3275ac47bf82f146f6c066 (patch)
tree09987fc7fc846f859f53aa809ba7017af48219b9 /tests/data/test906
parent9ea51459520d5d8a397908b4a3fc6cc3b2d45974 (diff)
downloadcurl-f317ffb7bbd18428ab3275ac47bf82f146f6c066.tar.gz
tests: Corrected the SMTP tests to be RFC2821 compliant
The emails that are sent to the server during these tests were incorrectly formatted as they contained one or more LF terminated lines rather than being CRLF terminated as per Section 2.3.7 of RFC-2821. This wasn't a problem for the test suite as the <stdin> data matched the <upload> data but anyone using these tests as reference would be sending incorrect data to a server.
Diffstat (limited to 'tests/data/test906')
-rw-r--r--tests/data/test90616
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/data/test906 b/tests/data/test906
index da196009e..80c1e7ee6 100644
--- a/tests/data/test906
+++ b/tests/data/test906
@@ -20,10 +20,10 @@ smtp
SMTP without --mail-from
</name>
<stdin>
-From: different
-To: another
-
-body
+From: different
+To: another
+
+body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 906@foo -T -
@@ -41,10 +41,10 @@ DATA
QUIT
</protocol>
<upload>
-From: different
-To: another
-
-body
+From: different
+To: another
+
+body
.
</upload>