1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/data/test926
Steve Holme 8896b56488 test926: Corrected unknown user reply from commit 0d735c29f9
The error code should not be sent as data as it isn't passed onto the
client as body data, so cannot be compared in the test suite against
expected data.
2013-11-16 20:33:08 +00:00

45 lines
506 B
Plaintext

<testcase>
<info>
<keywords>
SMTP
VRFY
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
REPLY VRFY 550 Unknown user
</servercmd>
</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>