quickjs-tart

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

test932 (869B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 SMTP
      5 SASL
      6 SASL AUTH CRAM-MD5
      7 SASL CANCELLATION
      8 RFC2195
      9 RFC4954
     10 </keywords>
     11 </info>
     12 
     13 #
     14 # Server-side
     15 <reply>
     16 <servercmd>
     17 AUTH CRAM-MD5
     18 REPLY AUTH 334 Rubbish
     19 REPLY * 501 AUTH exchange cancelled by client
     20 </servercmd>
     21 </reply>
     22 
     23 #
     24 # Client-side
     25 <client>
     26 <server>
     27 smtp
     28 </server>
     29 <features>
     30 crypto
     31 digest
     32 </features>
     33 <name>
     34 SMTP CRAM-MD5 graceful cancellation
     35 </name>
     36 <command>
     37 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
     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 EHLO %TESTNUMBER
     53 AUTH CRAM-MD5
     54 *
     55 </protocol>
     56 </verify>
     57 </testcase>