X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/880ff2a4f8f33fede426b21858dda31b58ffd27a..9322ba2854211794c27fae9468768b80b767c211:/test/mhmail/test-mhmail diff --git a/test/mhmail/test-mhmail b/test/mhmail/test-mhmail index 4d127e4e..2e7375f0 100755 --- a/test/mhmail/test-mhmail +++ b/test/mhmail/test-mhmail @@ -89,7 +89,7 @@ Usage: mhmail [-t(o)] addrs ... [switches] EOF #### Skip nmh intro text. -mhmail -help | sed '/^$/Q' >"$actual" 2>&1 +mhmail -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" @@ -772,7 +772,7 @@ To: recipient@example.com From: sender27@example.com MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 -Content-Transfer-Encoding: 8bit +Content-Transfer-Encoding: 7bit Date: with added header fields @@ -783,7 +783,7 @@ EOF test_mhmail "$expected" \ "-from sender27@example.com -headerfield MIME-Version:1.0 \ -headerfield Content-Type:text/plain;charset=utf-8 \ --headerfield Content-Transfer-Encoding:8bit" \ +-headerfield Content-Transfer-Encoding:7bit" \ -b 'with added header fields' [ ${failed:-0} -eq 0 ] || exit ${failed:-0}