xref: /curl/tests/data/test807 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6LSUB
7CUSTOMREQUEST
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15* LSUB () "/" /%TESTNUMBER/blurdybloop
16* LSUB (\Noselect) "/" /%TESTNUMBER/foo
17* LSUB () "/" /%TESTNUMBER/foo/bar
18</data>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25imap
26</server>
27<name>
28IMAP LSUB mailbox
29</name>
30<command>
31imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "%TESTNUMBER" *'
32</command>
33</client>
34
35#
36# Verify data after the test has been "shot"
37<verify>
38<protocol>
39A001 CAPABILITY
40A002 LOGIN user secret
41A003 LSUB "%TESTNUMBER" *
42A004 LOGOUT
43</protocol>
44</verify>
45</testcase>
46