X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3ddb60a5b12ce0117b4969ba80a78a60c31ec4fb..c9794733:/test/inc/test-inc-scanout?ds=inline diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index 87335d52..140b54c0 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -297,6 +297,42 @@ run_test 'scan -width 80 -file '"$MH_TEST_DIR"'/mess' \ ' 1 01/16 No Such User FLDPLUS test' rm -f "$MH_TEST_DIR/mess" +# check inc of message with header field body with more than 511 characters +cat >"$expected" < +To: Some Other User +Subject: FLDPLUS test +Date: Wed, 16 Jan 2013 20:33:58 -0600 +EOF + +cat >"$MH_TEST_DIR/mess" < +To: Some Other User +Subject: FLDPLUS test +Date: Wed, 16 Jan 2013 20:33:58 -0600 + +EOF +run_prog inc -file "$MH_TEST_DIR/mess" >/dev/null +check "$expected" `mhpath last` || rmm last +rm -f "$MH_TEST_DIR/mess" + # check scan and inc of mbox with multiple messages echo y | packf -file "$MH_TEST_DIR/msgbox" run_test "scan -width 80 -file $MH_TEST_DIR/msgbox" \