Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test800
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 Clear Text
6 FETCH
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <data>
14 From: me@somewhere\r
15 To: fake@nowhere\r
16 \r
17 body\r
18 \r
19 --\r
20   yours sincerely\r
21 </data>
22 </reply>
23
24 #
25 # Client-side
26 <client>
27 <server>
28 imap
29 </server>
30  <name>
31 IMAP FETCH message
32  </name>
33  <command>
34 'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <protocol>
42 A001 CAPABILITY\r
43 A002 LOGIN user secret\r
44 A003 SELECT 800\r
45 A004 FETCH 1 BODY[]\r
46 A005 LOGOUT\r
47 </protocol>
48 </verify>
49 </testcase>