Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
bec1d590
...
bec1d590b59eb514e381dcfef4ee2e08e1a2fb1b
authored
2007-05-09 07:58:05 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update to match bugfixes in mime.c
1 parent
c0a1ef3a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
21 deletions
imap4d/testsuite/imap4d/fetch.exp
mail/testsuite/mail/read.exp
mail/testsuite/mail/write.exp
readmsg/testsuite/readmsg/test.exp
imap4d/testsuite/imap4d/fetch.exp
View file @
bec1d59
...
...
@@ -82,7 +82,7 @@ imap4d_test "FETCH 1:\* ALL"\
"2 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
28-Dec-2001 23:28:09 +0000
\"
RFC822.SIZE 548 ENVELOPE (
\"
Fri, 28 Dec 2001 23:28:08 +0200
\"
\"
Re: Jabberwocky
\"
((
\"
Bar
\"
NIL
\"
bar
\"
\"
dontmailme.org
\"
)) ((
\"
Bar
\"
NIL
\"
bar
\"
\"
dontmailme.org
\"
)) ((
\"
Bar
\"
NIL
\"
bar
\"
\"
dontmailme.org
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200112232808.fERKR9N16790@dontmailme.org>
\"
))"
\
"3 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:43:18 +0000
\"
RFC822.SIZE 1668 ENVELOPE (
\"
Sat, 13 Jul 2002 00:43:18 +0300
\"
\"
Simple MIME
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122143.g6CLhIb05086@Mirddin.farlep.net>
\"
))"
\
"4 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:50:58 +0000
\"
RFC822.SIZE 3568 ENVELOPE (
\"
Sat, 13 Jul 2002 00:50:58 +0300
\"
\"
Nested MIME
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122150.g6CLowb05126@Mirddin.farlep.net>
\"
))"
\
"5 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:43:18 +0000
\"
RFC822.SIZE 9
37
ENVELOPE (
\"
Sat, 13 Jul 2002 00:43:18 +0300
\"
\"
Empty MIME Parts
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122143.g6CLhIb05086@Mirddin.farlep.net>
\"
))"
\
"5 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:43:18 +0000
\"
RFC822.SIZE 9
41
ENVELOPE (
\"
Sat, 13 Jul 2002 00:43:18 +0300
\"
\"
Empty MIME Parts
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122143.g6CLhIb05086@Mirddin.farlep.net>
\"
))"
\
"OK"
# BODYSTRUCTURE The [MIME-IMB
]
body structure of the message. This
...
...
@@ -99,24 +99,24 @@ imap4d_test "FETCH 2 BODYSTRUCTURE"\
"OK"
imap4d_test
"FETCH 3 BODYSTRUCTURE"
\
"3 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.1
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
How doth
\"
\"
7BIT
\"
2
41 10 NIL NIL NIL)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.21
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
base64
\"
470
NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"3 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.1
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
How doth
\"
\"
7BIT
\"
2
39 9 NIL NIL NIL)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.21
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
base64
\"
468
NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"OK"
imap4d_test
"FETCH 4 BODYSTRUCTURE"
\
"4 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
3 11 NIL NIL NIL)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
488 NIL NIL NIL)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
492 NIL NIL NIL)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
504
NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa2
\"
) NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa1
\"
) NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"4 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
1 10 NIL NIL NIL)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
486 NIL NIL NIL)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
490 NIL NIL NIL)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
502
NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa2
\"
) NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa1
\"
) NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"OK"
imap4d_test
"FETCH 5 BODYSTRUCTURE"
\
"5 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
empty
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
Empty part
\"
\"
7BIT
\"
0 0 NIL NIL NIL)(
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
single.line
\"
\"
charset
\"
\"
\
u
s-ascii
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Single line part
\"
\"
7BIT
\"
2 1 NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"5 FETCH (BODYSTRUCTURE ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
empty
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
Empty part
\"
\"
7BIT
\"
0 0 NIL NIL NIL)(
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
single.line
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Single line part
\"
\"
7BIT
\"
2 1 NIL NIL NIL)
\"
mixed
\"
(
\"
boundary
\"
\"
----- =_aaaaaaaaaa0
\"
) NIL NIL))"
\
"OK"
# BODY The text of a particular body section.
imap4d_test
"FETCH 1:* BODY"
\
"1 FETCH (BODY (
\"
TEXT
\"
\"
PLAIN
\"
(
\"
CHARSET
\"
\"
US-ASCII
\"
) NIL NIL
\"
7BIT
\"
972 35))"
\
"2 FETCH (BODY (
\"
TEXT
\"
\"
PLAIN
\"
(
\"
CHARSET
\"
\"
US-ASCII
\"
) NIL NIL
\"
7BIT
\"
219 4))"
\
"3 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.1
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
How doth
\"
\"
7BIT
\"
2
41 10)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.21
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
base64
\"
470
)
\"
mixed
\"
NIL NIL NIL))"
\
"4 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
3 11)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
488)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
492)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
504
)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL))"
\
"5 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
empty
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
Empty part
\"
\"
7BIT
\"
0 0)(
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
single.line
\"
\"
charset
\"
\"
\
u
s-ascii
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Single line part
\"
\"
7BIT
\"
2 1)
\"
mixed
\"
NIL NIL NIL))"
\
"3 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.1
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
How doth
\"
\"
7BIT
\"
2
39 9)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.21
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
base64
\"
468
)
\"
mixed
\"
NIL NIL NIL))"
\
"4 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
1 10)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
486)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
490)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
502
)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL))"
\
"5 FETCH (BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
empty
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.1@Mirddin.farlep.net>
\"
\"
Empty part
\"
\"
7BIT
\"
0 0)(
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
single.line
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5082.1026510189.2@Mirddin.farlep.net>
\"
\"
Single line part
\"
\"
7BIT
\"
2 1)
\"
mixed
\"
NIL NIL NIL))"
\
"OK"
# BODY.PEEK[<section>
]
<<partial>>
...
...
@@ -329,9 +329,8 @@ imap4d_test "FETCH 3 BODY\[1.MIME\]"\
")"
\
"OK"
imap4d_test
"FETCH 4 BODY
\[
2.2.1
\]
"
\
"4 FETCH (FLAGS (
\\
Seen) BODY
\[
2.2.1
\]
{49
2
}"
\
"4 FETCH (FLAGS (
\\
Seen) BODY
\[
2.2.1
\]
{49
0
}"
\
-literal
\
"YFlvdSBhcmUgb2xkLCcgc2FpZCB0aGUgeW91dGgsIGBhbmQgeW91ciBqYXdzIGFyZSB0b28gd2Vh"
\
"awpGb3IgYW55dGhpbmcgdG91Z2hlciB0aGFuIHN1ZXQ7CllldCB5b3UgZmluaXNoZWQgdGhlIGdv"
\
...
...
@@ -340,12 +339,11 @@ imap4d_test "FETCH 4 BODY\[2.2.1\]"\
"dGhlIGxhdywKQW5kIGFyZ3VlZCBlYWNoIGNhc2Ugd2l0aCBteSB3aWZlOwpBbmQgdGhlIG11c2N1"
\
"bGFyIHN0cmVuZ3RoLCB3aGljaCBpdCBnYXZlIHRvIG15IGphdywKSGFzIGxhc3RlZCB0aGUgcmVz"
\
"dCBvZiBteSBsaWZlLicK"
\
""
\
")"
\
"OK"
imap4d_test
"FETCH 4 BODY
\[
2.2.1.TEXT
\]
"
\
"4 FETCH (BODY
\[
2.2.1.TEXT
\]
{49
2
}"
\
"4 FETCH (BODY
\[
2.2.1.TEXT
\]
{49
0
}"
\
-literal
\
"YFlvdSBhcmUgb2xkLCcgc2FpZCB0aGUgeW91dGgsIGBhbmQgeW91ciBqYXdzIGFyZSB0b28gd2Vh"
\
"awpGb3IgYW55dGhpbmcgdG91Z2hlciB0aGFuIHN1ZXQ7CllldCB5b3UgZmluaXNoZWQgdGhlIGdv"
\
...
...
@@ -354,12 +352,11 @@ imap4d_test "FETCH 4 BODY\[2.2.1.TEXT\]"\
"dGhlIGxhdywKQW5kIGFyZ3VlZCBlYWNoIGNhc2Ugd2l0aCBteSB3aWZlOwpBbmQgdGhlIG11c2N1"
\
"bGFyIHN0cmVuZ3RoLCB3aGljaCBpdCBnYXZlIHRvIG15IGphdywKSGFzIGxhc3RlZCB0aGUgcmVz"
\
"dCBvZiBteSBsaWZlLicK"
\
""
\
")"
\
"OK"
imap4d_test
"FETCH 4 BODY
\[
2.2.TEXT
\]
"
\
"4 FETCH (BODY
\[
2.2.TEXT
\]
{144
8
}"
\
"4 FETCH (BODY
\[
2.2.TEXT
\]
{144
6
}"
\
-literal
\
--
"------- =_aaaaaaaaaa2"
\
"Content-Type: application/octet-stream; name=
\"
msg.23
\"
"
\
...
...
@@ -390,7 +387,6 @@ imap4d_test "FETCH 4 BODY\[2.2.TEXT\]"\
"IGtpY2sgeW91IGRvd24gc3RhaXJzIScK"
\
""
\
--
"------- =_aaaaaaaaaa2--"
\
""
\
")"
\
"OK"
...
...
@@ -521,7 +517,7 @@ imap4d_test "FETCH 1 FAST" \
# RFC822.SIZE ENVELOPE BODY
)
imap4d_test
"FETCH 4 FULL"
\
"4 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:50:58 +0000
\"
RFC822.SIZE 3568 ENVELOPE (
\"
Sat, 13 Jul 2002 00:50:58 +0300
\"
\"
Nested MIME
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122150.g6CLowb05126@Mirddin.farlep.net>
\"
) BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
3 11)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
488)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
492)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
504
)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL))"
\
"4 FETCH (FLAGS (
\\
Recent) INTERNALDATE
\"
13-Jul-2002 00:50:58 +0000
\"
RFC822.SIZE 3568 ENVELOPE (
\"
Sat, 13 Jul 2002 00:50:58 +0300
\"
\"
Nested MIME
\"
((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Sergey Poznyakoff
\"
NIL
\"
gray
\"
\"
Mirddin.farlep.net
\"
)) ((
\"
Foo Bar
\"
NIL
\"
foobar
\"
\"
nonexistent.net
\"
)) NIL NIL NIL
\"
<200207122150.g6CLowb05126@Mirddin.farlep.net>
\"
) BODY ((
\"
text
\"
\"
plain
\"
(
\"
name
\"
\"
msg.21
\"
\"
charset
\"
\"
us-ascii
\"
)
\"
<5122.1026510654.2@Mirddin.farlep.net>
\"
\"
Father William Part I
\"
\"
7BIT
\"
35
1 10)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.22
\"
)
\"
<5122.1026510654.4@Mirddin.farlep.net>
\"
\"
Father William Part II
\"
\"
base64
\"
486)((
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.23
\"
)
\"
<5122.1026510654.6@Mirddin.farlep.net>
\"
\"
Father William Part III
\"
\"
base64
\"
490)(
\"
application
\"
\"
octet-stream
\"
(
\"
name
\"
\"
msg.24
\"
)
\"
<5122.1026510654.7@Mirddin.farlep.net>
\"
\"
Father William Part IV
\"
\"
base64
\"
502
)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL)
\"
mixed
\"
NIL NIL NIL))"
\
"OK"
imap4d_stop
...
...
mail/testsuite/mail/read.exp
View file @
bec1d59
...
...
@@ -259,7 +259,6 @@ mail_test -message "decoding simple MIME messages" \
"How neatly spread his claws,"
\
"And welcome little fishes in"
\
"With gently smiling jaws!"
\
""
\
"+------------------------------------------------------------------------------+"
\
"| Message=3
\[
2
\]
"
\
"| Type=application/octet-stream; name=
\"
msg.21
\"
"
\
...
...
@@ -278,8 +277,8 @@ mail_test -message "decoding simple MIME messages" \
"`In my youth,' Father William replied to his son,"
\
"`I feared it might injure the brain;"
\
"But, now that I'm perfectly sure I have none,"
\
"Why, I do it again and again.'"
\
""
"Why, I do it again and again.'"
mail_test -message
"decoding nested MIME messages"
\
"decode 4"
\
"+------------------------------------------------------------------------------+"
\
...
...
@@ -301,7 +300,6 @@ mail_test -message "decoding nested MIME messages" \
"But, now that I'm perfectly sure I have none,"
\
"Why, I do it again and again.'"
\
""
\
""
\
"+------------------------------------------------------------------------------+"
\
"| Message=4
\[
2
\[
1
\]\]
"
\
"| Type=application/octet-stream; name=
\"
msg.22
\"
"
\
...
...
mail/testsuite/mail/write.exp
View file @
bec1d59
...
...
@@ -44,14 +44,14 @@ mail_start -reuse-spool "--file=%mbox1"
mail_test
"h"
\
">U 1 Bar Fri Dec 28 23:28 16/579 Re: Jabberwocky"
\
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1645 Simple MIME"
\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 2
7/931
Empty MIME Parts"
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 2
9/933
Empty MIME Parts"
# Send first message to mbox...
mail_command
"mbox 1"
mail_test
"h"
\
">M 1 Bar Fri Dec 28 23:28 16/579 Re: Jabberwocky"
\
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1645 Simple MIME"
\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 2
7/931
Empty MIME Parts"
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 2
9/933
Empty MIME Parts"
# ... and quit
mail_test -noprompt
"quit"
\
...
...
readmsg/testsuite/readmsg/test.exp
View file @
bec1d59
...
...
@@ -199,12 +199,14 @@ mu_exec -message "readmsg *" -arg "\\\\*" \
"Content-ID: <5082.1026510189.1@Mirddin.farlep.net>"
\
"Content-Description: Empty part"
\
""
\
""
\
--
"------- =_aaaaaaaaaa0"
\
"Content-Type: text/plain; name=
\"
single.line
\"
; charset=
\"
us-ascii
\"
"
\
"Content-ID: <5082.1026510189.2@Mirddin.farlep.net>"
\
"Content-Description: Single line part"
\
""
\
""
\
""
\
--
"------- =_aaaaaaaaaa0--"
\
""
\
""
...
...
Please
register
or
sign in
to post a comment