[PATCH 3/4] test: test for absence of "Non-text part: application/pgp-*" lines in reply
Jameson Graef Rollins
jrollins at finestructure.net
Wed Jun 8 12:30:08 PDT 2011
In reply, the quoted text does not need to mention that the original
message had "application/pgp-signed" or "application/pgp-encrypted"
parts.
---
test/crypto | 2 --
test/multipart | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/test/crypto b/test/crypto
index 8e92016..cf096c0 100755
--- a/test/crypto
+++ b/test/crypto
@@ -310,8 +310,6 @@ expected='From: Notmuch Test Suite <test_suite at notmuchmail.org>
Subject: Re: test encrypted message 002
On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite at notmuchmail.org> wrote:
-Non-text part: multipart/encrypted
-Non-text part: application/pgp-encrypted
> This is another test encrypted message.'
test_expect_equal \
"$output" \
diff --git a/test/multipart b/test/multipart
index c7431cc..e333a67 100755
--- a/test/multipart
+++ b/test/multipart
@@ -589,7 +589,6 @@ Non-text part: text/html
> And this message is signed.
>
> -Carl
-Non-text part: application/pgp-signature
EOF
test_expect_equal_file OUTPUT EXPECTED
--
1.7.5.3
More information about the notmuch
mailing list