X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5b410a0888990f4cddb9c2859d039d09089a8043..2b60a54adb3b0bf5a9b927708085492b816a6015:/test/mhfixmsg/test-mhfixmsg diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 7fc95d3f..f741d9c6 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -199,6 +199,12 @@ check "$MH_TEST_DIR"/Mail/inbox/11 "$expected" 'keep first' check "$MH_TEST_DIR"/Mail/inbox/,11 "$MH_TEST_DIR"/Mail/inbox/11.original +# check -file with directory +start_test "-file with directory" +run_test 'mhfixmsg -file /tmp' 'mhfixmsg: /tmp is a directory +mhfixmsg: unable to parse message from file /tmp' + + # check -reformat (enabled by default): addition of text/plain part # to solitary text/html part start_test "-reformat (enabled by default): addition of text/plain part" @@ -1677,7 +1683,7 @@ check "$expected" "$actual" start_test "input is passed through to output when there's a parse error" cat >"$expected.err" <