X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0c7ac5073c24f01663fadc78b5112c86d52e4452..eb587c769a0f2ecbc5667875513f56927f49d6f8:/test/inc/test-inc-scanout diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index 491a520f..4dd5a265 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -191,19 +191,19 @@ EOF run_test "inc -file ${MH_TEST_DIR}/test.mbox -width 120 -truncate" \ "Incorporating new mail into inbox... - 11+ 03/01 Mr Nobody Who is on first?<"$MH_TEST_DIR/mess" < To: Some Other User @@ -329,7 +381,7 @@ Subject: FLDPLUS test Date: Wed, 16 Jan 2013 20:33:58 -0600 EOF -inc -file "$MH_TEST_DIR/mess" >/dev/null +run_prog inc -file "$MH_TEST_DIR/mess" >/dev/null check "$expected" `mhpath last` || rmm last rm -f "$MH_TEST_DIR/mess" @@ -346,7 +398,7 @@ run_test "scan -width 80 -file $MH_TEST_DIR/msgbox" \ 8 09/29 Test8 Testing message 8<> 9 09/29 Test9 Testing message 9<> 10 09/29 Test10 Testing message 10<> - 11 03/01 Mr Nobody Who is on first?<> 21 09/29 Test9 Testing message 9<> 22 09/29 Test10 Testing message 10<> - 23 03/01 Mr Nobody Who is on first?<>' rm -f "$MH_TEST_DIR/msgbox" +# check 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 +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + +# check 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 +cat >>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + exit ${failed:-0}