Commit bec1d590 bec1d590b59eb514e381dcfef4ee2e08e1a2fb1b by Sergey Poznyakoff

Update to match bugfixes in mime.c

1 parent c0a1ef3a
......@@ -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\""\
......
......@@ -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 27/931 Empty MIME Parts"
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/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 27/931 Empty MIME Parts"
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/933 Empty MIME Parts"
# ... and quit
mail_test -noprompt "quit" \
......
......@@ -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--"\
""\
""
......