xf.li | 6c8fc1e | 2023-08-12 00:11:09 -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 () "/" /%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> |
| 25 | imap |
| 26 | </server> |
| 27 | <name> |
| 28 | IMAP LSUB mailbox |
| 29 | </name> |
| 30 | <command> |
| 31 | imap://%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> |
| 39 | A001 CAPABILITY
|
| 40 | A002 LOGIN user secret
|
| 41 | A003 LSUB "%TESTNUMBER" *
|
| 42 | A004 LOGOUT
|
| 43 | </protocol> |
| 44 | </verify> |
| 45 | </testcase> |