tizen 2.3.1 release
[external/curl.git] / tests / data / test832
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 SASL
6 SASL AUTH DIGEST-MD5
7 SASL CANCELLATION
8 RFC2831
9 </keywords>
10 </info>
11
12 #
13 # Server-side
14 <reply>
15 <servercmd>
16 AUTH DIGEST-MD5
17 CAPA LOGINDISABLED
18 REPLY AUTHENTICATE + Rubbish
19 REPLY * A002 NO AUTH exchange cancelled by client
20 </servercmd>
21 </reply>
22
23 #
24 # Client-side
25 <client>
26 <server>
27 imap
28 </server>
29 <features>
30 !SSPI
31 debug
32 crypto
33 </features>
34  <name>
35 IMAP DIGEST-MD5 graceful cancellation
36  </name>
37  <command>
38 'imap://%HOSTIP:%IMAPPORT/832/;UID=1' -u user:secret
39 </command>
40 </client>
41
42 #
43 # Verify data after the test has been "shot"
44 <verify>
45 # 67 - CURLE_LOGIN_DENIED
46 <errorcode>
47 67
48 </errorcode>
49 #
50 # The multi interface considers a broken "CONNECT" as a prematurely broken
51 # transfer and such a connection will not get a "LOGOUT"
52 <protocol>
53 A001 CAPABILITY\r
54 A002 AUTHENTICATE DIGEST-MD5\r
55 *\r
56 </protocol>
57 </verify>
58 </testcase>