tests: Added new SMTP tests to verify commit 99b4045183
This commit is contained in:
committed by
Daniel Stenberg
parent
51b0f09b5e
commit
6add1901a1
48
tests/data/test911
Normal file
48
tests/data/test911
Normal file
@@ -0,0 +1,48 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SMTP
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
smtp
|
||||
</server>
|
||||
<name>
|
||||
SMTP with no mail data
|
||||
</name>
|
||||
|
||||
<stdin nonewline="yes">
|
||||
|
||||
</stdin>
|
||||
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-rcpt 911@foobar.example --mail-from 911@from -T -
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
EHLO user
|
||||
MAIL FROM:<911@from>
|
||||
RCPT TO:<911@foo>
|
||||
RCPT TO:<911@foobar.example>
|
||||
DATA
|
||||
QUIT
|
||||
</protocol>
|
||||
<upload>
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user