c006c6dd6f2a5f92859d466b1518b19db0028798
[platform/upstream/curl.git] / tests / data / test815
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 STORE
6 CLOSE\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 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 imap
24 </server>
25  <name>
26 IMAP STORE - delete message (CUSTOMREQUEST)
27  </name>
28  <command>
29 imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE
30 </command>
31 </client>
32
33 #
34 # Verify data after the test has been "shot"
35 <verify>
36 <protocol>
37 A001 CAPABILITY\r
38 A002 LOGIN user secret\r
39 A003 SELECT 815\r
40 A004 STORE 123 +Flags \Deleted\r
41 A005 CLOSE\r
42 A006 LOGOUT\r
43 </protocol>
44 </verify>
45 </testcase>