From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id DC0B86DE106B for ; Sun, 12 May 2019 03:35:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.435 X-Spam-Level: X-Spam-Status: No, score=0.435 tagged_above=-999 required=5 tests=[AWL=-0.217, SPF_NEUTRAL=0.652] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cm1nsALA1-gE for ; Sun, 12 May 2019 03:35:09 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 4E6806DE0F16 for ; Sun, 12 May 2019 03:35:08 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id C5C9510019F; Sun, 12 May 2019 13:35:01 +0300 (EEST) From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] test/emacs: revert invalid-from test to pre-86f89385 behaviour In-Reply-To: <20190512024559.17612-1-david@tethera.net> References: <20190512024559.17612-1-david@tethera.net> User-Agent: Notmuch/0.28.3+84~g41389bb (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 10:35:11 -0000 On Sat, May 11 2019, David Bremner wrote: > To the best of my understanding, this original behaviour was what > Carl's homebrew parser produced. With commit 86f89385 Austin switched > to using GMime (2.6). This produced arguably worse results, but since > the input was bad, we could live with it. Now with GMime 3.0 we are > getting the original results again, and there is no reason to consider > this test broken. if it works, push it ! > --- > test/T310-emacs.sh | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh > index c06a8133..5f74305d 100755 > --- a/test/T310-emacs.sh > +++ b/test/T310-emacs.sh > @@ -86,14 +86,13 @@ test_emacs "(let ((notmuch-show-indent-messages-width 4)) > test_expect_equal_file $EXPECTED/notmuch-show-thread-maildir-storage-with-fourfold-indentation OUTPUT > > test_begin_subtest "notmuch-show for message with invalid From" > -test_subtest_known_broken > add_message "[subject]=\"message-with-invalid-from\"" \ > "[from]=\"\\\"Invalid \\\" From\\\" \"" > thread=$(notmuch search --output=threads subject:message-with-invalid-from) > test_emacs "(notmuch-show \"$thread\") > (test-output \"OUTPUT.raw\")" > cat <EXPECTED > -"Invalid " (2001-01-05) (inbox) > +Invalid " From (2001-01-05) (inbox) > Subject: message-with-invalid-from > To: Notmuch Test Suite > Date: GENERATED_DATE > -- > 2.11.0 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch