quickjs-tart

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

test985 (647B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 POP3
      5 STARTTLS
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <servercmd>
     13 REPLY CAPA -ERR Not implemented
     14 </servercmd>
     15 <data nocheck="yes">
     16 From: me@somewhere
     17 To: fake@nowhere
     18 
     19 body
     20 
     21 --
     22   yours sincerely
     23 </data>
     24 </reply>
     25 
     26 #
     27 # Client-side
     28 <client>
     29 <features>
     30 SSL
     31 </features>
     32 <server>
     33 pop3
     34 </server>
     35 <name>
     36 POP3 require STARTTLS with failing capabilities
     37 </name>
     38 <command>
     39 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
     40  </command>
     41 </client>
     42 
     43 #
     44 # Verify data after the test has been "shot"
     45 <verify>
     46 # 64 is CURLE_USE_SSL_FAILED
     47 <errorcode>
     48 64
     49 </errorcode>
     50 <protocol>
     51 CAPA
     52 </protocol>
     53 </verify>
     54 </testcase>