1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
curl/tests/data/test800
Steve Holme 5a6464ae09 email-tests: Renamed the IMAP test to be 800
Continued segregating the email protocol tests, into their own protocol
based ranges, in preparation of adding more e-mail related tests to the
test suite.
2013-03-10 19:02:37 +00:00

49 lines
530 B
Plaintext

<testcase>
<info>
<keywords>
IMAP
FETCH
</keywords>
</info>
#
# Server-side
<reply>
<data>
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
</data>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP FETCH
</name>
<command>
'imap://%HOSTIP:%IMAPPORT/801/;UID=1' -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 801
A004 FETCH 1 BODY[]
A005 LOGOUT
</protocol>
</verify>
</testcase>