mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:13:41 +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
42
tests/data/test926
Normal file
42
tests/data/test926
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SMTP
|
||||
VRFY
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
550 Unknown user
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
smtp
|
||||
</server>
|
||||
<name>
|
||||
SMTP unknown user VRFY
|
||||
</name>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/926 --mail-rcpt recipient
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# 56 - CURLE_RECV_ERROR
|
||||
<errorcode>
|
||||
56
|
||||
</errorcode>
|
||||
<protocol>
|
||||
EHLO 926
|
||||
VRFY recipient
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue