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