X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/77ce4cf16b51da4e873519978a9808bfd83febaa..3c751489b2aca846fe2305a6a3d189381579b61e:/test/mhfixmsg/test-mhfixmsg diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 66e45a32..c80cfb8b 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -866,13 +866,32 @@ EOF if test "$ICONV_ENABLED" -eq 1; then run_prog mhfixmsg last -textcharset utf-8 -outfile "$actual" 2>&1 - check "$expected" "$actual" + check "$expected" "$actual" 'keep first' else echo "$0: skipping -textcharset check because nmh was built without iconv" rm -f "$expected" fi +# check -textcharset -verbose +start_test "-textcharset -verbose" +cat >"$expected.err" <"$actual.err" + check "$expected" "$actual" + check "$expected.err" "$actual.err" +else + echo "$0: skipping -textcharset -verbose check because nmh was built " \ + "without iconv" + rm -f "$expected" "$expected.err" +fi + + # check -nofixboundary start_test "-nofixboundary" cat >"$expected" <