quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test830 (849B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 SASL
      6 SASL AUTH CRAM-MD5
      7 SASL CANCELLATION
      8 RFC2195
      9 </keywords>
     10 </info>
     11 
     12 #
     13 # Server-side
     14 <reply>
     15 <servercmd>
     16 AUTH CRAM-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 crypto
     31 digest
     32 </features>
     33 <name>
     34 IMAP CRAM-MD5 graceful cancellation
     35 </name>
     36 <command>
     37 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -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 "LOGOUT"
     51 <protocol>
     52 A001 CAPABILITY
     53 A002 AUTHENTICATE CRAM-MD5
     54 *
     55 </protocol>
     56 </verify>
     57 </testcase>