X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4318012376e06229307c0ed4f62a00faae9edc63..7f7335d8a403574f3be2ccd610f1a5d9dc2fa3b2:/test/mhfixmsg/test-mhfixmsg diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 7fc95d3f..3f5e847e 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"