Debian Codegraph @

deps/curl/tests/data/test831

raw
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 SASL
6 SASL AUTH NTLM
7 SASL CANCELLATION
8 </keywords>
9 </info>
10
11 #
12 # Server-side
13 <reply>
14 <servercmd>
15 AUTH NTLM
16 CAPA LOGINDISABLED
17 REPLY AUTHENTICATE +
18 REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + 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 NTLM
31 SSL
32 !SSPI
33 </features>
34 <name>
35 IMAP NTLM graceful cancellation
36 </name>
37 <setenv>
38 # we force our own host name, in order to make the test machine independent
39 CURL_GETHOSTNAME=curlhost
40 # we try to use the LD_PRELOAD hack, if not a debug build
41 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
42 </setenv>
43 <command>
44 'imap://%HOSTIP:%IMAPPORT/831/;MAILINDEX=1' -u testuser:testpass
45 </command>
46 <precheck>
47 chkhostname curlhost
48 </precheck>
49 </client>
50
51 #
52 # Verify data after the test has been "shot"
53 <verify>
54 # 67 - CURLE_LOGIN_DENIED
55 <errorcode>
56 67
57 </errorcode>
58 #
59 # The multi interface considers a broken "CONNECT" as a prematurely broken
60 # transfer and such a connection will not get a "LOGOUT"
61 <protocol>
62 A001 CAPABILITY
63 A002 AUTHENTICATE NTLM
64 TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
65 *
66 </protocol>
67 </verify>
68 </testcase>