aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test910
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-05-04 17:50:53 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-05-07 22:52:43 +0200
commit6add1901a1e756d2e47c6b300c03fa7ba47fabdd (patch)
tree4e9111937d40a11f0399a0854b0969201db36451 /tests/data/test910
parent51b0f09b5e2286d4e59996da5d8d8713535882d8 (diff)
tests: Added new SMTP tests to verify commit 99b40451836d
Diffstat (limited to 'tests/data/test910')
-rw-r--r--tests/data/test91052
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/data/test910 b/tests/data/test910
new file mode 100644
index 000000000..5013fdc75
--- /dev/null
+++ b/tests/data/test910
@@ -0,0 +1,52 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP without terminating CRLF
+ </name>
+<stdin nonewline="yes">
+From: different
+To: another
+
+body
+</stdin>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 910@foo --mail-rcpt 910@foobar.example --mail-from 910@from -T -
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO user
+MAIL FROM:<910@from>
+RCPT TO:<910@foo>
+RCPT TO:<910@foobar.example>
+DATA
+QUIT
+</protocol>
+<upload>
+From: different
+To: another
+
+body
+.
+</upload>
+</verify>
+</testcase>