summaryrefslogtreecommitdiff
path: root/tests/data/test802
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-02-12 22:23:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-02-12 22:23:46 +0000
commit975814368a8b567a369ab5174c42dbae5b28b86e (patch)
treee01a31b4d49a91dd7c8099e3688c5024dee8aaf7 /tests/data/test802
parentdc6adb54fbf1c3678e71f0ce281ba37e0d7e2b83 (diff)
downloadcurl-975814368a8b567a369ab5174c42dbae5b28b86e.tar.gz
- Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes.
Diffstat (limited to 'tests/data/test802')
-rw-r--r--tests/data/test8023
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/test802 b/tests/data/test802
index dedc1e1fd..d3114137d 100644
--- a/tests/data/test802
+++ b/tests/data/test802
@@ -26,7 +26,7 @@ To: another
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-from 802@from -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example --mail-from 802@from -T -
</command>
</client>
@@ -37,6 +37,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-from 802@from -T -
EHLO user
MAIL FROM:802@from
RCPT TO:802@foo
+RCPT TO:802@foobar.example
DATA
QUIT
</protocol>