Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test876
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 SASL
6 SASL AUTH CRAM-MD5
7 SASL CANCELLATION
8 RFC1734
9 RFC2195
10 RFC5034
11 </keywords>
12 </info>
13
14 #
15 # Server-side
16 <reply>
17 <servercmd>
18 AUTH CRAM-MD5
19 REPLY AUTH + Rubbish
20 REPLY * -ERR AUTH exchange cancelled by client
21 </servercmd>
22 </reply>
23
24 #
25 # Client-side
26 <client>
27 <server>
28 pop3
29 </server>
30 <features>
31 crypto
32 </features>
33  <name>
34 POP3 CRAM-MD5 graceful cancellation
35  </name>
36  <command>
37 pop3://%HOSTIP:%POP3PORT/876 -u user:secret
38 </command>
39 </client>
40
41 #
42 # Verify data after the test has been "shot"
43 <verify>
44 # 67 - CURLE_LOGIN_DENIED
45 <errorcode>
46 67
47 </errorcode>
48 #
49 # The multi interface considers a broken "CONNECT" as a prematurely broken
50 # transfer and such a connection will not get a "QUIT"
51 <protocol>
52 CAPA\r
53 AUTH CRAM-MD5\r
54 *\r
55 </protocol>
56 </verify>
57 </testcase>