Subject: test
-part text/plain 70
+[ part - text/plain - 70B ]
This is a multi-part message in MIME format.
LC_ALL=en_US.UTF-8; export LC_ALL
-test "$ICONV_ENABLED" -eq 0 && text_size=10 || text_size=11
-
expected=$MH_TEST_DIR/$$.expected
actual=$MH_TEST_DIR/$$.actual
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
+Content-Description: bogus quoted-printable data
Date: Sun, 18 Dec 2005 00:52:39 +0100
4 =F7 2 =3D 2
Subject: test
MIME-Version: 1.0
+Content-Description: bogus quoted-printable data
-part text/plain $text_size
+[ part - text/plain - bogus quoted-printable data 11B ]
This is a test
EOF
MIME-Version: 1.0
Content-Disposition: inline
-part text/plain 34
+[ part - text/plain - 34B ]
This is a test; this is the body.
EOF
run_prog mhshow $msgnum > $actual 2>&1
# Write the expected output.
cat >"$expected" <<EOF
-part 1.1 text/plain 29
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
# Write the expected output.
cat >"$expected" <<EOF
-part 1.1 text/plain 29
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
--NextPart_002
Content-Type: text/plain;
charset="utf-8"
+Content-Description: the text/plain part
This is the text/plain part.
# Write the expected output.
cat >"$expected" <<EOF
-part 1.1 text/plain 29
+[ part 1.1 - text/plain - the text/plain part 29B ]
This is the text/plain part.
EOF
MIME-Version: 1.0
-part text/plain 181
+[ part - text/plain - 181B ]
=
=
ignored space at end
# Write the expected output.
cat > $expected <<EOF
-part 1.1 text/plain 29
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
MIME-Version: 1.0
-part text/plain 11
+[ part - text/plain - 11B ]
4 รท 2 = 2
EOF
MIME-Version: 1.0
-part text/plain 18K
+[ part - text/plain - 18.9KB ]
1. The Earthquake