X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/52a3727a8e26bc651f3330cb80f11ba627cfaac7..f383303ba2b9a77dc71ecce10e2fe96d9ae3b397:/test/inc/test-inc-scanout diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index c2a202cc..68a53420 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -17,9 +17,7 @@ setup_test thisdir="$srcdir/test/inc" expected="$MH_TEST_DIR/$$.expected" -expected_err="$MH_TEST_DIR/$$.expected_err" actual="$MH_TEST_DIR/$$.actual" -actual_err="$MH_TEST_DIR/$$.actual_err" cat > "${MH_TEST_DIR}/test.mbox" <"$MH_TEST_DIR/mess" < +To: Some Other User +Subject: all that and nothing to say? +Date: Thu, 10 Jan 2013 19:54:01 -0500 -cat >"$expected" <"$expected_err" <`mhpath new` <"$MH_TEST_DIR/mess" < +To: Some Other User +Subject: FLDPLUS test +Date: Wed, 16 Jan 2013 20:33:58 -0600 -# check m_getfld() handling of empty header field -scan -width 13 -file "$thisdir"/malformed_message.txt >"$actual" 2>"$actual_err" +EOF -check "$expected" "$actual" -check "$expected_err" "$actual_err" +run_test 'scan -width 80 -file '"$MH_TEST_DIR"'/mess' \ + ' 1 01/16 No Such User FLDPLUS test' +rm -f "$MH_TEST_DIR/mess" exit ${failed:-0}