Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test809
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 Clear Text
6 STATUS
7 CUSTOMREQUEST
8 </keywords>
9 </info>
10
11 #
12 # Server-side
13 <reply>
14 <data>
15 * STATUS 809 (MESSAGES 231 UIDNEXT 44292)\r
16 </data>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 imap
24 </server>
25  <name>
26 IMAP mailbox STATUS (CUSTOMREQUEST)
27  </name>
28  <command>
29 imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)'
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 STATUS 809 (UIDNEXT MESSAGES)\r
40 A004 LOGOUT\r
41 </protocol>
42 </verify>
43 </testcase>