From: Daniel Stenberg Date: Wed, 21 Sep 2011 20:32:27 +0000 (+0200) Subject: test 814: smtp without --mail-from X-Git-Tag: upstream/7.37.1~3677 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9cf4cb79182de38d240e54954f0b2805aeec177;p=platform%2Fupstream%2Fcurl.git test 814: smtp without --mail-from Verifies the fix from commit 322f3d5af7093 --- diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index eaafe12..2030e0b 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -56,7 +56,8 @@ test632 test633 test634 test635 test636 test637 test700 test701 test702 \ test703 test704 test705 test706 test707 test708 test709 test710 \ test800 test801 test802 \ test803 test804 test805 test806 test807 test808 test809 test810 test811 \ -test812 test813 test1000 test1001 test1002 test1003 test1004 test1005 \ +test812 test813 test814 \ +test1000 test1001 test1002 test1003 test1004 test1005 \ test1006 test1007 test1008 test1009 test1010 test1011 test1012 test1013 \ test1014 test1015 test1016 test1017 test1018 test1019 test1020 test1021 \ test1022 test1023 test1024 test1025 test1026 test1027 test1028 test1029 \ diff --git a/tests/data/test814 b/tests/data/test814 new file mode 100644 index 0000000..1fc0607 --- /dev/null +++ b/tests/data/test814 @@ -0,0 +1,52 @@ + + + +SMTP + + + +# +# Server-side + + + +# +# Client-side + + +smtp + + +SMTP without --mail-from + + +From: different +To: another + +body + + +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 814@foo -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO user +MAIL FROM:<> +RCPT TO:<814@foo> +DATA +QUIT + + +From: different +To: another + +body + +. + + +