xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | Clear Text |
| 6 | LIST |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | * LIST () "/" /%TESTNUMBER/blurdybloop
|
| 15 | * LIST (\Noselect) "/" /%TESTNUMBER/foo
|
| 16 | * LIST () "/" /%TESTNUMBER/foo/bar
|
| 17 | </data> |
| 18 | </reply> |
| 19 | |
| 20 | # |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | imap |
| 25 | </server> |
| 26 | <name> |
| 27 | IMAP LIST mailbox |
| 28 | </name> |
| 29 | <command> |
| 30 | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -u user:secret |
| 31 | </command> |
| 32 | </client> |
| 33 | |
| 34 | # |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <protocol> |
| 38 | A001 CAPABILITY
|
| 39 | A002 LOGIN user secret
|
| 40 | A003 LIST "%TESTNUMBER" *
|
| 41 | A004 LOGOUT
|
| 42 | </protocol> |
| 43 | </verify> |
| 44 | </testcase> |