quickjs-tart

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

test988 (621B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAPS
      5 FETCH
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 From: me@somewhere
     14 To: fake@nowhere
     15 
     16 body
     17 
     18 --
     19   yours sincerely
     20 </data>
     21 </reply>
     22 
     23 #
     24 # Client-side
     25 <client>
     26 <server>
     27 imaps
     28 </server>
     29 <name>
     30 IMAPS FETCH with redundant explicit SSL request
     31 </name>
     32 <command>
     33 --insecure --ssl-reqd -u '"user:sec"ret{' 'imaps://%HOSTIP:%IMAPSPORT/%TESTNUMBER/;MAILINDEX=1'
     34 </command>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <protocol>
     41 A001 CAPABILITY
     42 A002 LOGIN "\"user" "sec\"ret{"
     43 A003 SELECT %TESTNUMBER
     44 A004 FETCH 1 BODY[]
     45 A005 LOGOUT
     46 </protocol>
     47 </verify>
     48 </testcase>