From: David Levine Date: Sat, 18 Mar 2017 20:53:15 +0000 (-0400) Subject: Added test case for commit 4318012376e06229307c0ed4f62a00faae9edc63. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/7f7335d8a403574f3be2ccd610f1a5d9dc2fa3b2?ds=inline;hp=4318012376e06229307c0ed4f62a00faae9edc63 Added test case for commit 4318012376e06229307c0ed4f62a00faae9edc63. --- 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"