Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test882
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 Clear Text
6 RETR
7 connection re-use
8 </keywords>
9 </info>
10
11 #
12 # Server-side
13 <reply>
14 <servercmd>
15 REPLY "PASS secret" +OK Login successful
16 </servercmd>
17 <data>
18 From: me@somewhere
19 To: fake@nowhere
20
21 body
22
23 --
24   yours sincerely
25 </data>
26 </reply>
27
28 #
29 # Client-side
30 <client>
31 <server>
32 pop3
33 </server>
34  <name>
35 POP3 multiple connection authentication
36  </name>
37  <command>
38 pop3://%HOSTIP:%POP3PORT/882001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/882002 -u user.two:secret
39 </command>
40 </client>
41
42 #
43 # Verify data after the test has been "shot"
44 <verify>
45 <protocol>
46 CAPA
47 USER user.one
48 PASS secret
49 RETR 882001
50 QUIT
51 CAPA
52 USER user.two
53 PASS secret
54 RETR 882002
55 QUIT
56 </protocol>
57 </verify>
58 </testcase>