5ebb3a09457252542031ed0cae746562beca092c
[platform/upstream/curl.git] / tests / data / test851
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 LIST
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <servercmd>
13 # include the '.\r\n' 3-byte trailer to end the transfer poperly!
14 REPLY LIST +OK 851 100\r\n.
15 </servercmd>
16 </reply>
17
18 #
19 # Client-side
20 <client>
21 <server>
22 pop3
23 </server>
24  <name>
25 POP3 LIST one message
26  </name>
27  <command>
28 pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
29 </command>
30 </client>
31
32 #
33 # Verify data after the test has been "shot"
34 <verify>
35 <protocol>
36 CAPA\r
37 USER user\r
38 PASS secret\r
39 LIST 851\r
40 QUIT\r
41 </protocol>
42 </verify>
43 </testcase>