Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test802
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 Clear Text
6 SELECT
7 UIDVALIDITY
8 </keywords>
9 </info>
10
11 #
12 # Server-side
13 <reply>
14 <data>
15 body\r
16 \r
17 --\r
18   yours sincerely\r
19 </data>
20 </reply>
21
22 #
23 # Client-side
24 <client>
25 <server>
26 imap
27 </server>
28  <name>
29 IMAP SELECT UIDVALIDITY Success
30  </name>
31  <command>
32 'imap://%HOSTIP:%IMAPPORT/802;UIDVALIDITY=3857529045/;UID=123/;SECTION=TEXT' -u user:secret
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 802\r
43 A004 FETCH 123 BODY[TEXT]\r
44 A005 LOGOUT\r
45 </protocol>
46 </verify>
47 </testcase>