summaryrefslogtreecommitdiff
path: root/tests/data/test985
blob: d0db4aadf5dbb9ab241effcad0a032388fc363e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<testcase>
<info>
<keywords>
POP3
STARTTLS
</keywords>
</info>

#
# Server-side
<reply>
<servercmd>
REPLY CAPA -ERR Not implemented
</servercmd>
<data nocheck="yes">
From: me@somewhere
To: fake@nowhere

body

--
  yours sincerely
</data>
</reply>

#
# Client-side
<client>
<features>
SSL
</features>
<server>
pop3
</server>
 <name>
POP3 require STARTTLS with failing capabilities
 </name>
 <command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
 </command>
</client>

#
# Verify data after the test has been "shot"
<verify>
# 64 is CURLE_USE_SSL_FAILED
<errorcode>
64
</errorcode>
<protocol>
CAPA
</protocol>
</verify>
</testcase>