xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | Clear Text |
| 6 | FETCH |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | From: me@somewhere
|
| 15 | To: fake@nowhere
|
| 16 |
|
| 17 | body
|
| 18 |
|
| 19 | --
|
| 20 | yours sincerely
|
| 21 | </data> |
| 22 | <datacheck> |
| 23 | </datacheck> |
| 24 | <servercmd> |
| 25 | </servercmd> |
| 26 | </reply> |
| 27 | |
| 28 | # |
| 29 | # Client-side |
| 30 | <client> |
| 31 | <features> |
| 32 | Mime |
| 33 | </features> |
| 34 | <server> |
| 35 | imap |
| 36 | </server> |
| 37 | <name> |
| 38 | IMAP cleanup before a connection was created |
| 39 | </name> |
| 40 | # tool is what to use instead of 'curl' |
| 41 | <tool> |
| 42 | lib%TESTNUMBER |
| 43 | </tool> |
| 44 | |
| 45 | # this MUST use a host name that doesn't resolve |
| 46 | <command> |
| 47 | imap://non-existing-host.haxx.se:%IMAPPORT/%TESTNUMBER |
| 48 | </command> |
| 49 | </client> |
| 50 | |
| 51 | # |
| 52 | # Verify data after the test has been "shot" |
| 53 | <verify> |
| 54 | <protocol> |
| 55 | </protocol> |
| 56 | </verify> |
| 57 | </testcase> |