mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:43:47 +03:00
tests: Added SMTP VRFY command tests
This commit is contained in:
parent
0cbfe5a7d5
commit
3d50e91aee
5 changed files with 160 additions and 1 deletions
38
tests/data/test925
Normal file
38
tests/data/test925
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SMTP
|
||||
VRFY
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
252 Send some mail and I'll try my best
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
smtp
|
||||
</server>
|
||||
<name>
|
||||
SMTP external VRFY
|
||||
</name>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/925 --mail-rcpt user@example.net
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
EHLO 925
|
||||
VRFY user@example.net
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue