1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00
curl/tests/data/test800

50 lines
592 B
Plaintext
Raw Normal View History

2009-12-20 06:07:04 -05:00
<testcase>
<info>
<keywords>
IMAP
Clear Text
2009-12-20 06:07:04 -05:00
FETCH
</keywords>
</info>
#
# Server-side
<reply>
<data>
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
2009-12-20 06:07:04 -05:00
</data>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP FETCH message
2009-12-20 06:07:04 -05:00
</name>
<command>
'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u '"user:sec"ret{'
2009-12-20 06:07:04 -05:00
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN "\"user" "sec\"ret{"
A003 SELECT %TESTNUMBER
A004 FETCH 1 BODY[]
A005 LOGOUT
2009-12-20 06:07:04 -05:00
</protocol>
</verify>
</testcase>