716c49e89ebcf7d23177cb4310236607c2273414
[platform/upstream/curl.git] / tests / data / test857
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 RETR
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <data>
13 From: me@somewhere\r
14 To: fake@nowhere\r
15 \r
16 ..body with a single dot first\r
17 ...triple dots...\r
18 \r
19 --\r
20   yours sincerely\r
21 </data>
22 <datacheck>
23 From: me@somewhere\r
24 To: fake@nowhere\r
25 \r
26 .body with a single dot first\r
27 ..triple dots...\r
28 \r
29 --\r
30   yours sincerely\r
31 </datacheck>
32 </reply>
33
34 #
35 # Client-side
36 <client>
37 <server>
38 pop3
39 </server>
40  <name>
41 POP3 RETR with dot-prefixed line
42  </name>
43  <command>
44 pop3://%HOSTIP:%POP3PORT/857 -u user:secret
45 </command>
46 </client>
47
48 #
49 # Verify data after the test has been "shot"
50 <verify>
51 <protocol>
52 CAPA\r
53 USER user\r
54 PASS secret\r
55 RETR 857\r
56 QUIT\r
57 </protocol>
58 </verify>
59 </testcase>