X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/test/dist/test-dist?ds=inline diff --git a/test/dist/test-dist b/test/dist/test-dist index 2f1e4f3e..fa00b4b3 100755 --- a/test/dist/test-dist +++ b/test/dist/test-dist @@ -71,7 +71,8 @@ Usage: dist [+folder] [msg] [switches] -[no]atfile EOF -dist -help >"$actual" 2>&1 +#### Skip nmh intro text. +dist -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version @@ -388,8 +389,7 @@ run_test 'scan +outbox -width 6 2' ' 2 ' # Check that dist encodes headers using RFC-2047 properly # -require_locale en_US.utf-8 en_US.utf8 -LC_ALL=en_US.UTF-8; export LC_ALL +require_locale en_US.UTF-8 en_US.UTF8 en_US.utf-8 en_US.utf8 cat >"$expected" < @@ -397,14 +397,14 @@ To: Some User Date: Fri, 29 Sep 2006 00:00:00 Message-Id: 1@test.nmh Subject: Testing message 1 -Resent-From: =?UTF-8?Q?Mr_F=C3=B8o_Bar?= -Resent-To: =?UTF-8?Q?Mr_Nobod=C3=BF?= +Resent-From: =?UTF-8?Q?Mr_F=C3=B8o_Bar?= +Resent-To: =?UTF-8?Q?Mr_Nobod=C3=BF?= Resent-Date: This is message number 1 EOF -test_dist +inbox 1 -noedit -from 'Mr Føo Bar ' \ - -to 'Mr Nobodÿ ' -fcc +outbox +test_dist +inbox 1 -noedit -from 'Mr Føo Bar ' \ + -to 'Mr Nobodÿ ' -fcc +outbox exit ${failed:-0}