test804 639 B

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