test804 686 B

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