]> diplodocus.org Git - nmh/commitdiff
Fix a bunch of tests for the mhbuild changes; still more to do.
authorKen Hornstein <kenh@pobox.com>
Wed, 22 Jan 2014 01:12:29 +0000 (20:12 -0500)
committerKen Hornstein <kenh@pobox.com>
Wed, 22 Jan 2014 01:12:29 +0000 (20:12 -0500)
test/mhmail/test-mhmail
test/post/test-messageid
test/post/test-mts
test/post/test-post-aliases
test/post/test-post-basic
test/post/test-post-bcc
test/post/test-post-dcc
test/post/test-post-envelope
test/post/test-post-fcc
test/post/test-post-group
test/post/test-post-multiple

index 043d95e..ff9fd40 100755 (executable)
@@ -292,6 +292,8 @@ RCPT TO:<recipient@example.com>
 DATA
 To: recipient@example.com
 From: sender8@localhost
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 Message-ID:
 
index 544af66..6ca8f97 100755 (executable)
@@ -32,6 +32,8 @@ DATA
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 Subject: Test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 Message-ID:
 
@@ -145,6 +149,8 @@ cat > "${testname}.expected" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 Subject: Test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 Message-ID:
 
index afcd131..73b9aa1 100755 (executable)
@@ -30,6 +30,8 @@ DATA
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 Subject: Test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is a test
index 62c1863..664346d 100755 (executable)
@@ -86,6 +86,8 @@ cat >"${testname}.expected" <<EOF
 From: Mr Nobody <nobody@example.com>
 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 <nobody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: "named.list" <one@example.com>, "named.list" <two@example.com>
 Subject: named list test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is test of a named list.
index 74ef5e1..c198007 100755 (executable)
@@ -34,6 +34,8 @@ DATA
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 Subject: Test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is a test
index e1a6354..fe8d5fd 100755 (executable)
@@ -51,6 +51,8 @@ From: Mr Nobody <nobody@example.com>
 To: Somebody One <somebody1@example.com>,
     Somebody Two <somebody2@example.com>
 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 <nobody@example.com>
 To: Somebody One <somebody1@example.com>,
     Somebody Two <somebody2@example.com>
 Subject: Test Bcc
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is test of Bcc recipients.
index f2bbda6..d9480da 100755 (executable)
@@ -36,6 +36,8 @@ From: Mr Nobody <nobody@example.com>
 To: Somebody One <somebody1@example.com>,
     Somebody Two <somebody2@example.com>
 Subject: Test Dcc
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is test of Dcc recipients.
index 7d3288b..b9e75ce 100755 (executable)
@@ -39,6 +39,8 @@ From: Mr Nobody One <nobody1@example.com>,
 Sender: Mr Nobody Three <nobody3@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody1@example.com>,
 Sender: Mr Nobody Three <nobody3@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody1@example.com>,
       Mr Nobody Two <nobody2@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody1@example.com>
 To: Somebody Else <somebody@example.com>
 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 <nobody1@example.com>
 To: Somebody Else <somebody@example.com>
 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.
index 2fdd9de..052e3db 100755 (executable)
@@ -34,6 +34,8 @@ DATA
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 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" <<EOF
 From: Mr Nobody <nobody@example.com>
 To: Somebody Else <somebody@example.com>
 Subject: Fcc test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is a fcc test
index d5e39ae..59134b4 100755 (executable)
@@ -33,6 +33,8 @@ DATA
 From: Mr Nobody <nobody@example.com>
 To: our-group: ;
 Subject: Group test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is test of group recipients.
index 4fe3e85..f7d1a13 100755 (executable)
@@ -34,6 +34,8 @@ From: Mr Nobody <nobody@example.com>
 To: Somebody One <somebody1@example.com>,
     Somebody Two <somebody2@example.com>
 Subject: Test multiple
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
 Date:
 
 This is test of multiple recipients.