aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1520
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-28 12:12:09 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-28 12:17:32 +0000
commit29726951b084efaec7eb7a89d6ec9f2284840c4d (patch)
tree0f9e060955acf3c3fe0a95e548c0822add5ccf64 /tests/data/test1520
parent097fc121e684a4d0c252ab768cb1b5b186dc43f8 (diff)
tests: Added test for bug #1456
Diffstat (limited to 'tests/data/test1520')
-rw-r--r--tests/data/test152059
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/data/test1520 b/tests/data/test1520
new file mode 100644
index 000000000..c8b62fd07
--- /dev/null
+++ b/tests/data/test1520
@@ -0,0 +1,59 @@
+<testcase>
+# Based off test 901 after bug report #1456
+<info>
+<keywords>
+SMTP
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+<tool>
+lib1520
+</tool>
+
+ <name>
+SMTP with CRLF-dot-CRLF in data
+ </name>
+<stdin>
+From: different
+To: another
+
+
+.
+.
+
+.
+
+body
+</stdin>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/1520
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO 1520
+MAIL FROM:<sender@example.com>
+RCPT TO:<recipient@example.com>
+DATA
+From: different
+To: another
+
+
+..
+..
+
+..
+
+body
+</protocol>
+</verify>
+</testcase>