From: David Levine Date: Fri, 23 Nov 2012 15:25:15 +0000 (-0600) Subject: Added Message-Id to messages in test suite. X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=b15f35a73878825d1824a710982d6769ece9b6cb;p=mmh Added Message-Id to messages in test suite. --- diff --git a/test/anno/test-anno b/test/anno/test-anno index e96c606..bdf9328 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -122,7 +122,7 @@ check "$expected" "$actual" rm "${MH_TEST_DIR}/Mail/draft" # check -append -sed -e '4a\ +sed -e '5a\ Nmh-test:' "${MH_TEST_DIR}/Mail/inbox/1" >"$expected" anno 1 -component Nmh-test -append sed -e 's/^Nmh-test:.*/Nmh-test:/' "${MH_TEST_DIR}/Mail/inbox/1" >"$actual" diff --git a/test/common.sh.in b/test/common.sh.in index a25409b..dd68f77 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -207,6 +207,7 @@ EOF From: Test$i To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: $i@test.nmh Subject: Testing message $i This is message number $i diff --git a/test/dist/test-dist b/test/dist/test-dist index 769406c..c96ed1a 100755 --- a/test/dist/test-dist +++ b/test/dist/test-dist @@ -95,6 +95,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -112,6 +113,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -132,6 +134,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: me@example.com Resent-To: you@example.com @@ -149,6 +152,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 2@test.nmh Subject: Testing message 2 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -165,6 +169,7 @@ Resent: somebody@example.com From: Test2 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 2@test.nmh Subject: Testing message 2 This is message number 2 @@ -194,6 +199,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -208,6 +214,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 This is message number 1 @@ -225,6 +232,7 @@ if [ $hard_links_supported -eq 1 ]; then From: Test8 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 8@test.nmh Subject: Testing message 8 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -244,6 +252,7 @@ EOF From: Test8 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 8@test.nmh Subject: Testing message 8 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -260,6 +269,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 3@test.nmh Subject: Testing message 3 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -275,6 +285,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 3@test.nmh Subject: Testing message 3 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -291,6 +302,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 3@test.nmh Subject: Testing message 3 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -311,6 +323,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: me@example.com Resent-To: somebody@example.com @@ -326,6 +339,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -342,6 +356,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com @@ -357,6 +372,7 @@ cat >"$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: ${localmbox} Resent-To: somebody@example.com diff --git a/test/mhbuild/test-forw b/test/mhbuild/test-forw index 2167738..7326b51 100755 --- a/test/mhbuild/test-forw +++ b/test/mhbuild/test-forw @@ -47,6 +47,7 @@ Content-Type: message/rfc822 From: Test1 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 This is message number 1 @@ -57,6 +58,7 @@ Content-Type: message/rfc822 From: Test2 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 2@test.nmh Subject: Testing message 2 This is message number 2 @@ -84,6 +86,7 @@ Content-Description: forwarded messages From: Test1 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 This is message number 1 @@ -93,6 +96,7 @@ This is message number 1 From: Test2 To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 2@test.nmh Subject: Testing message 2 This is message number 2 diff --git a/test/rcv/test-rcvdist b/test/rcv/test-rcvdist index 8dea84d..311cdc9 100755 --- a/test/rcv/test-rcvdist +++ b/test/rcv/test-rcvdist @@ -80,6 +80,7 @@ cat > "$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: `${MH_LIB_DIR}/ap -format '%(localmbox)' 0` Resent-To: recipient@example.com @@ -95,6 +96,7 @@ cat > "$expected" < To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: 2@test.nmh Subject: Testing message 2 Resent-To: recipient@example.com Resent-From: Some User diff --git a/test/repl/test-repl b/test/repl/test-repl index 0b5b483..29383f9 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -81,6 +81,8 @@ To: Test1 cc: mymailbox@localhost Fcc: +outbox Subject: Re: Testing message 1 +In-reply-to: 1@test.nmh +References: 1@test.nmh Comments: In-reply-to Test1 message dated "Fri, 29 Sep 2006 00:00:00." -------- @@ -96,6 +98,8 @@ To: Test1 cc: Fcc: +outbox Subject: Re: Testing message 1 +In-reply-to: 1@test.nmh +References: 1@test.nmh Comments: In-reply-to Test1 message dated "Fri, 29 Sep 2006 00:00:00." -------- @@ -114,6 +118,8 @@ To: Test1 cc: mymailbox@localhost Fcc: +outbox Subject: Re: Testing message 1 +In-reply-to: 1@test.nmh +References: 1@test.nmh Comments: In-reply-to Test1 message dated "Fri, 29 Sep 2006 00:00:00." -------- @@ -131,6 +137,8 @@ To: Test1 cc: Fcc: +outbox Subject: Re: Testing message 1 +In-reply-to: 1@test.nmh +References: 1@test.nmh Comments: In-reply-to Test1 message dated "Fri, 29 Sep 2006 00:00:00." --------