quickjs-tart

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

test832 (869B)


      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 digest
     34 </features>
     35 <name>
     36 IMAP DIGEST-MD5 graceful cancellation
     37 </name>
     38 <command>
     39 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
     40 </command>
     41 </client>
     42 
     43 #
     44 # Verify data after the test has been "shot"
     45 <verify>
     46 # 67 - CURLE_LOGIN_DENIED
     47 <errorcode>
     48 67
     49 </errorcode>
     50 #
     51 # The multi interface considers a broken "CONNECT" as a prematurely broken
     52 # transfer and such a connection will not get a "LOGOUT"
     53 <protocol>
     54 A001 CAPABILITY
     55 A002 AUTHENTICATE DIGEST-MD5
     56 *
     57 </protocol>
     58 </verify>
     59 </testcase>