X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2e768e3cc0ce768373d3320eca4cdd08b8cf646a..e537b780f7aea8df01ddca1976f8c128d9c1fb55:/test/inc/test-inc-scanout diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index ffe2c46d..1d814549 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -191,13 +191,13 @@ 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" <"$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" \ @@ -310,7 +346,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?<>"$MH_TEST_DIR/msgbox" <>' +rm -f "$MH_TEST_DIR/msgbox" + exit ${failed:-0}