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