Re: [PATCH 4/4] cli/show: show repaired form of "Mixed Up" mangled messages

Subject: Re: [PATCH 4/4] cli/show: show repaired form of "Mixed Up" mangled messages

Date: Thu, 30 May 2019 17:06:34 +0000

To: Daniel Kahn Gillmor, Notmuch Mail

Cc:

From: Rollins, Jameson


On Thu, May 30 2019, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> Yes, it does fix notmuch reply as well.  Do you think that we should
> augment the test suite to include 'notmuch reply' too?

I mean, more tests don't hurt, but I don't see it as critical.  I think
it could be as simple as (please verify):

test_begin_subtest "reply 'Mixed-Up' mangled PGP/MIME message"
output=$(notmuch reply --format=json --decrypt id:mixed-up@mangling.notmuchmail.org)
test_json_nodes <<<"$output" \
                'body:["original"]["body"][0]["content"][1]["content"]="The password is \"abcd1234!\", please do not tell anyone.\n"'
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: