Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test810
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 Clear Text
6 SEARCH
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <data>
14 * SEARCH 1 123 456 810
15 </data>
16 </reply>
17
18 #
19 # Client-side
20 <client>
21 <server>
22 imap
23 </server>
24  <name>
25 IMAP SEARCH for NEW messages
26  </name>
27  <command>
28 imap://%HOSTIP:%IMAPPORT/810?NEW -u user:secret
29 </command>
30 </client>
31
32 #
33 # Verify data after the test has been "shot"
34 <verify>
35 <protocol>
36 A001 CAPABILITY
37 A002 LOGIN user secret
38 A003 SELECT 810
39 A004 SEARCH NEW
40 A005 LOGOUT
41 </protocol>
42 </verify>
43 </testcase>