lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | POP3 |
| 5 | Clear Text |
| 6 | LIST |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | # We use SLOWDOWN to really exercise the end-of-body parsing over multiple |
| 14 | # packets |
| 15 | <servercmd> |
| 16 | SLOWDOWN |
| 17 | </servercmd> |
| 18 | # When doing LIST, we get the default list output hard-coded in the test |
| 19 | # POP3 server |
| 20 | <datacheck> |
| 21 | 1 100
|
| 22 | 2 4294967400
|
| 23 | 3 200
|
| 24 | </datacheck> |
| 25 | </reply> |
| 26 | |
| 27 | # |
| 28 | # Client-side |
| 29 | <client> |
| 30 | <server> |
| 31 | pop3 |
| 32 | </server> |
| 33 | <name> |
| 34 | POP3 LIST messages from *SLOW* server |
| 35 | </name> |
| 36 | <command> |
| 37 | pop3://%HOSTIP:%POP3PORT/ -u user:secret |
| 38 | </command> |
| 39 | </client> |
| 40 | |
| 41 | # |
| 42 | # Verify data after the test has been "shot" |
| 43 | <verify> |
| 44 | <protocol> |
| 45 | CAPA
|
| 46 | USER user
|
| 47 | PASS secret
|
| 48 | LIST
|
| 49 | QUIT
|
| 50 | </protocol> |
| 51 | </verify> |
| 52 | </testcase> |