etlegacy-libs/curl/tests/data/test804

48 lines
662 B
Text
Raw Normal View History

2012-06-01 15:23:17 +00:00
<testcase>
<info>
<keywords>
2016-09-16 04:29:17 +00:00
IMAP
Clear Text
SELECT
2012-06-01 15:23:17 +00:00
</keywords>
</info>
#
# Server-side
<reply>
2016-09-16 04:29:17 +00:00
<data>
body
--
yours sincerely
</data>
2012-06-01 15:23:17 +00:00
</reply>
#
# Client-side
<client>
<server>
2016-09-16 04:29:17 +00:00
imap
2012-06-01 15:23:17 +00:00
</server>
<name>
2016-09-16 04:29:17 +00:00
IMAP doesn't perform SELECT if re-using the same mailbox
2012-06-01 15:23:17 +00:00
</name>
<command>
2019-01-03 15:09:10 +00:00
'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=456/;SECTION=2.3' -u user:secret
2012-06-01 15:23:17 +00:00
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
2016-09-16 04:29:17 +00:00
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 804
A004 FETCH 123 BODY[1]
A005 FETCH 456 BODY[2.3]
A006 LOGOUT
2012-06-01 15:23:17 +00:00
</protocol>
</verify>
</testcase>