]> git.cworth.org Git - notmuch/commitdiff
test: test for absence of "Non-text part: application/pgp-*" lines in reply
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 8 Jun 2011 19:30:08 +0000 (12:30 -0700)
committerDavid Bremner <bremner@debian.org>
Thu, 6 Oct 2011 13:13:20 +0000 (10:13 -0300)
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
test/multipart

index b49a4e0560177385a1025de93356a113faf80436..0af4aa8a0f7fc8b4f9ff9050b8ed637fec63c558 100755 (executable)
@@ -309,8 +309,6 @@ expected='From: Notmuch Test Suite <test_suite@notmuchmail.org>
 Subject: Re: test encrypted message 002
 
 On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:
-Non-text part: multipart/encrypted
-Non-text part: application/pgp-encrypted
 > This is another test encrypted message.'
 test_expect_equal \
     "$output" \
index 5fba00da9f4029c22558794a150824a5acb9893c..f83526bb190fefcbea1594c8bdf01300e97f47b3 100755 (executable)
@@ -586,7 +586,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