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