~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to tests/data/test804

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<testcase>
2
2
<info>
3
3
<keywords>
4
 
SMTP
5
 
SMTP HELO
6
 
RFC821
 
4
IMAP
 
5
SELECT
7
6
</keywords>
8
7
</info>
9
8
 
10
9
#
11
10
# Server-side
12
11
<reply>
13
 
<servercmd>
14
 
REPLY EHLO 500 Command unrecognized
15
 
REPLY HELO 250 Already old but still servicing...
16
 
</servercmd>
 
12
<data>
 
13
body
 
14
 
 
15
--
 
16
  yours sincerely
 
17
</data>
17
18
</reply>
18
19
 
19
20
#
20
21
# Client-side
21
22
<client>
22
23
<server>
23
 
smtp
 
24
imap
24
25
</server>
25
26
 <name>
26
 
RFC821-only SMTP server (EHLO not supported)
 
27
IMAP doesn't perform SELECT if re-using the same mailbox
27
28
 </name>
28
 
<stdin>
29
 
From: different
30
 
To: another
31
 
 
32
 
body
33
 
</stdin>
34
29
 <command>
35
 
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
 
30
-u user:secret 'imap://%HOSTIP:%IMAPPORT/804/;UID=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;UID=456/;SECTION=2.3'
36
31
</command>
37
32
</client>
38
33
 
40
35
# Verify data after the test has been "shot"
41
36
<verify>
42
37
<protocol>
43
 
EHLO user
44
 
HELO user
45
 
MAIL FROM:<804@from>
46
 
RCPT TO:<804@foo>
47
 
DATA
48
 
QUIT
 
38
A001 CAPABILITY
 
39
A002 LOGIN user secret
 
40
A003 SELECT 804
 
41
A004 FETCH 123 BODY[1]
 
42
A005 FETCH 456 BODY[2.3]
 
43
A006 LOGOUT
49
44
</protocol>
50
 
<upload>
51
 
From: different
52
 
To: another
53
 
 
54
 
body
55
 
 
56
 
.
57
 
</upload>
58
45
</verify>
59
46
</testcase>