# 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
-mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
check "$expected" "$actual"
# check a boundary condition in m_getfld(): its internal message
# 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
-mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
check "$expected" "$actual"
# check a boundary condition in m_getfld(): its internal message
--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
-mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
check "$expected" "$actual"