From: Ken Hornstein Date: Wed, 22 Jan 2014 01:12:29 +0000 (-0500) Subject: Fix a bunch of tests for the mhbuild changes; still more to do. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/8511ca2740a542325b103553a15d157239965103 Fix a bunch of tests for the mhbuild changes; still more to do. --- diff --git a/test/mhmail/test-mhmail b/test/mhmail/test-mhmail index 043d95ef..ff9fd40b 100755 --- a/test/mhmail/test-mhmail +++ b/test/mhmail/test-mhmail @@ -292,6 +292,8 @@ RCPT TO: DATA To: recipient@example.com From: sender8@localhost +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: Message-ID: diff --git a/test/post/test-messageid b/test/post/test-messageid index 544af668..6ca8f97e 100755 --- a/test/post/test-messageid +++ b/test/post/test-messageid @@ -32,6 +32,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -122,6 +124,8 @@ cat > "${testname}.expected" < To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: Message-ID: @@ -145,6 +149,8 @@ cat > "${testname}.expected" < To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: Message-ID: diff --git a/test/post/test-mts b/test/post/test-mts index afcd1319..73b9aa11 100755 --- a/test/post/test-mts +++ b/test/post/test-mts @@ -30,6 +30,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -94,6 +96,8 @@ cat > "${testname}.expected" < To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -118,6 +122,8 @@ cat > "${testname}.expected" < To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -141,6 +147,8 @@ cat > "${testname}.expected1" < To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -157,6 +165,8 @@ Subject: Test From: Mr Nobody To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test diff --git a/test/post/test-post-aliases b/test/post/test-post-aliases index 62c1863b..664346df 100755 --- a/test/post/test-post-aliases +++ b/test/post/test-post-aliases @@ -86,6 +86,8 @@ cat >"${testname}.expected" < To: Blind List: ; Subject: blind list test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of a blind list. @@ -106,6 +108,8 @@ DATA From: Mr Nobody To: Blind List: ; Subject: blind list test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of a blind list. @@ -129,6 +133,8 @@ cat >"${testname}.expected" < To: "named.list" , "named.list" Subject: named list test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of a named list. diff --git a/test/post/test-post-basic b/test/post/test-post-basic index 74ef5e11..c198007b 100755 --- a/test/post/test-post-basic +++ b/test/post/test-post-basic @@ -34,6 +34,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test @@ -84,6 +86,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test diff --git a/test/post/test-post-bcc b/test/post/test-post-bcc index e1a63549..fe8d5fd9 100755 --- a/test/post/test-post-bcc +++ b/test/post/test-post-bcc @@ -51,6 +51,8 @@ From: Mr Nobody To: Somebody One , Somebody Two Subject: Test Bcc +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of Bcc recipients. @@ -71,6 +73,8 @@ From: Mr Nobody To: Somebody One , Somebody Two Subject: Test Bcc +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of Bcc recipients. diff --git a/test/post/test-post-dcc b/test/post/test-post-dcc index f2bbda60..d9480da8 100755 --- a/test/post/test-post-dcc +++ b/test/post/test-post-dcc @@ -36,6 +36,8 @@ From: Mr Nobody To: Somebody One , Somebody Two Subject: Test Dcc +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of Dcc recipients. diff --git a/test/post/test-post-envelope b/test/post/test-post-envelope index 7d3288b0..b9e75cec 100755 --- a/test/post/test-post-envelope +++ b/test/post/test-post-envelope @@ -39,6 +39,8 @@ From: Mr Nobody One , Sender: Mr Nobody Three To: Somebody Else Subject: Sender test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test of the Sender header. @@ -73,6 +75,8 @@ From: Mr Nobody One , Sender: Mr Nobody Three To: Somebody Else Subject: Envelope-From test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a test of the Envelope-From header. @@ -106,6 +110,8 @@ From: Mr Nobody One , Mr Nobody Two To: Somebody Else Subject: Envelope-From and Sender test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: Sender: nobody4@example.com @@ -137,6 +143,8 @@ DATA From: Mr Nobody One To: Somebody Else Subject: Solo Envelope-From test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a solo test of the Envelope-From header. @@ -167,6 +175,8 @@ DATA From: Mr Nobody One To: Somebody Else Subject: Blank Envelope-From test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a blank test of the Envelope-From header. diff --git a/test/post/test-post-fcc b/test/post/test-post-fcc index 2fdd9deb..052e3dbf 100755 --- a/test/post/test-post-fcc +++ b/test/post/test-post-fcc @@ -34,6 +34,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Fcc test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a fcc test @@ -47,6 +49,8 @@ cat > "${testname}.msg.expected" < To: Somebody Else Subject: Fcc test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a fcc test diff --git a/test/post/test-post-group b/test/post/test-post-group index d5e39ae6..59134b40 100755 --- a/test/post/test-post-group +++ b/test/post/test-post-group @@ -33,6 +33,8 @@ DATA From: Mr Nobody To: our-group: ; Subject: Group test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of group recipients. diff --git a/test/post/test-post-multiple b/test/post/test-post-multiple index 4fe3e85c..f7d1a139 100755 --- a/test/post/test-post-multiple +++ b/test/post/test-post-multiple @@ -34,6 +34,8 @@ From: Mr Nobody To: Somebody One , Somebody Two Subject: Test multiple +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is test of multiple recipients.