tests: Added test for bug #1456

This commit is contained in:
Steve Holme
2014-12-28 12:12:09 +00:00
parent 097fc121e6
commit 29726951b0
4 changed files with 175 additions and 0 deletions

59
tests/data/test1520 Normal file
View File

@@ -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>