099dd33228d25764389eb1da11b07c44e61381a8
[platform/upstream/curl.git] / tests / data / test809
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 STATUS
6 CUSTOMREQUEST
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <data>
14 * STATUS 809 (MESSAGES 231 UIDNEXT 44292)\r
15 </data>
16 </reply>
17
18 #
19 # Client-side
20 <client>
21 <server>
22 imap
23 </server>
24  <name>
25 IMAP STATUS (CUSTOMREQUEST)
26  </name>
27  <command>
28 imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)'
29 </command>
30 </client>
31
32 #
33 # Verify data after the test has been "shot"
34 <verify>
35 <protocol>
36 A001 CAPABILITY\r
37 A002 LOGIN user secret\r
38 A003 STATUS 809 (UIDNEXT MESSAGES)\r
39 A004 LOGOUT\r
40 </protocol>
41 </verify>
42 </testcase>