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

View file

@ -149,6 +149,8 @@ test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
test1516 \
\
test1520 \
\
test1525 test1526 test1527 test1528 \
\
test1800 test1801 \

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>