quickjs-tart

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

test895 (646B)


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