Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 Clear Text
      6 SELECT
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <data>
     14 body
     15 
     16 --
     17   yours sincerely
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <server>
     25 imap
     26 </server>
     27  <name>
     28 IMAP doesn't perform SELECT if re-using the same mailbox
     29  </name>
     30  <command>
     31 'imap://%HOSTIP:%IMAPPORT/804/;UID=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;UID=456/;SECTION=2.3' -u user:secret
     32 </command>
     33 </client>
     34 
     35 #
     36 # Verify data after the test has been "shot"
     37 <verify>
     38 <protocol>
     39 A001 CAPABILITY
     40 A002 LOGIN user secret
     41 A003 SELECT 804
     42 A004 FETCH 123 BODY[1]
     43 A005 FETCH 456 BODY[2.3]
     44 A006 LOGOUT
     45 </protocol>
     46 </verify>
     47 </testcase>
     48