test816 729 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. Clear Text
  6. STORE
  7. EXPUNGE
  8. CUSTOMREQUEST
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data1>
  15. * 123 FETCH (FLAGS (\Seen \Deleted))
  16. </data1>
  17. <data2>
  18. * 123 EXPUNGE
  19. </data2>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <server>
  25. imap
  26. </server>
  27. <name>
  28. IMAP STORE - delete message with confirmation (CUSTOMREQUEST)
  29. </name>
  30. <command>
  31. imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE -u user:secret
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. A001 CAPABILITY
  39. A002 LOGIN user secret
  40. A003 SELECT 816
  41. A004 STORE 123 +Flags \Deleted
  42. A005 EXPUNGE
  43. A006 LOGOUT
  44. </protocol>
  45. </verify>
  46. </testcase>