<testcase>
<info>
<keywords>
IMAP
Clear Text
LIST
</keywords>
</info>

#
# Server-side
<reply>
<data crlf="yes">
* LIST () "/" /%TESTNUMBER/blurdybloop
* LIST (\Noselect) "/" /%TESTNUMBER/foo
* LIST () "/" /%TESTNUMBER/foo/bar
</data>
</reply>

#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP LIST mailbox
</name>
<command>
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -u user:secret
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
A001 CAPABILITY
A002 LOGIN user secret
A003 LIST "%TESTNUMBER" *
A004 LOGOUT
</protocol>
</verify>
</testcase>
