lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 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 | ||||
16 | * LSUB (\Noselect) "/" /807/foo | ||||
17 | * LSUB () "/" /807/foo/bar | ||||
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 | ||||
40 | A002 LOGIN user secret | ||||
41 | A003 LSUB "807" * | ||||
42 | A004 LOGOUT | ||||
43 | </protocol> | ||||
44 | </verify> | ||||
45 | </testcase> |