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