tests: Added SMTP HELP test

This commit is contained in:
Steve Holme
2013-11-17 10:03:25 +00:00
parent 3c8c9b2779
commit df58084695
3 changed files with 42 additions and 3 deletions

39
tests/data/test928 Normal file
View File

@@ -0,0 +1,39 @@
<testcase>
<info>
<keywords>
SMTP
HELP
</keywords>
</info>
#
# Server-side
<reply>
<data>
214-This server supports the following commands:
214 214 HELO EHLO RCPT DATA RSET MAIL VRFY EXPN QUIT HELP
</data>
</reply>
#
# Client-side
<client>
<server>
smtp
</server>
<name>
SMTP HELP
</name>
<command>
smtp://%HOSTIP:%SMTPPORT/928
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
EHLO 928
HELP
QUIT
</protocol>