X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e537b780f7aea8df01ddca1976f8c128d9c1fb55..HEAD:/test/inc/test-inc-scanout?ds=sidebyside diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index 1d814549..70cb0ed8 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -200,10 +200,11 @@ run_test "scan -width 120 +inbox 11" \ " 11+ 03/01 Mr Nobody Who is on first?<"$MH_TEST_DIR/mess" < To: Some Other User @@ -267,6 +320,7 @@ run_test 'scan -width 60 -file '"$MH_TEST_DIR/mess" \ rm -f "$MH_TEST_DIR/mess" # check m_getfld() handling of fields with trailing whitespace +start_test "m_getfld() handling of fields with trailing whitespace" # Even though header field names aren't supposed to have spaces (RFC # 28220, m_getfld () trims trailing whitespace from them. cat >`mhpath new` <"$MH_TEST_DIR/mess" <"$expected" <> @@ -366,6 +423,7 @@ run_test "inc -width 80 -file $MH_TEST_DIR/msgbox -truncate" \ rm -f "$MH_TEST_DIR/msgbox" # check mbox with two blank lines between header and body +start_test "mbox with two blank lines between header and body" cat >>"$MH_TEST_DIR/msgbox" <>' rm -f "$MH_TEST_DIR/msgbox" +# check inc (m_getfld, actually) of very, very, very short message +start_test "inc (m_getfld, actually) of very, very, very short message" +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + +# check inc (m_getfld, actually) of very, very short message +start_test "inc (m_getfld, actually) of very, very short message" +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + +# check inc (m_getfld, actually) of very short message +start_test "inc (m_getfld, actually) of very short message" +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + +# check inc (m_getfld, actually) of short message +start_test "inc (m_getfld, actually) of short message" +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + +finish_test exit ${failed:-0}