also added a couple of Content-Description headers to better
test the marker format.
+[ part - text/plain - 70B ]
This is a multi-part message in MIME format.
This is a multi-part message in MIME format.
LC_ALL=en_US.UTF-8; export LC_ALL
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
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
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
Date: Sun, 18 Dec 2005 00:52:39 +0100
4 =F7 2 =3D 2
Subject: test
MIME-Version: 1.0
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 ]
MIME-Version: 1.0
Content-Disposition: inline
MIME-Version: 1.0
Content-Disposition: inline
+[ part - text/plain - 34B ]
This is a test; this is the body.
EOF
run_prog mhshow $msgnum > $actual 2>&1
This is a test; this is the body.
EOF
run_prog mhshow $msgnum > $actual 2>&1
# Write the expected output.
cat >"$expected" <<EOF
# Write the expected output.
cat >"$expected" <<EOF
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
This is the text/plain part.
EOF
# Write the expected output.
cat >"$expected" <<EOF
# Write the expected output.
cat >"$expected" <<EOF
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
This is the text/plain part.
EOF
--NextPart_002
Content-Type: text/plain;
charset="utf-8"
--NextPart_002
Content-Type: text/plain;
charset="utf-8"
+Content-Description: the text/plain part
This is the text/plain part.
This is the text/plain part.
# Write the expected output.
cat >"$expected" <<EOF
# Write the expected output.
cat >"$expected" <<EOF
+[ part 1.1 - text/plain - the text/plain part 29B ]
This is the text/plain part.
EOF
This is the text/plain part.
EOF
+[ part - text/plain - 181B ]
# Write the expected output.
cat > $expected <<EOF
# Write the expected output.
cat > $expected <<EOF
+[ part 1.1 - text/plain - 29B ]
This is the text/plain part.
EOF
This is the text/plain part.
EOF
+[ part - text/plain - 11B ]
+[ part - text/plain - 18.9KB ]