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 CEBC06DE0941 for ; Sat, 27 May 2017 09:51:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 XuMwplzmLw8v for ; Sat, 27 May 2017 09:51:34 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 3865E6DE01F8 for ; Sat, 27 May 2017 09:51:34 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1dEevD-0005t4-Uv; Sat, 27 May 2017 12:50:35 -0400 Received: (nullmailer pid 9864 invoked by uid 1000); Sat, 27 May 2017 16:51:29 -0000 From: David Bremner To: notmuch@freelists.org, notmuch@notmuchmail.org Subject: [Patch v3 06/11] test/thread-naming: remove excess escaping from sender address. Date: Sat, 27 May 2017 13:51:16 -0300 Message-Id: <20170527165121.9654-7-david@tethera.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170527165121.9654-1-david@tethera.net> References: <20170527165121.9654-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Sat, 27 May 2017 16:51:35 -0000 This is another case where the behaviour of gmime-2.6 and gmime-3.0 seems to differ. It may be that we prefer the more lax parsing of the previous version, but that should be tested seperately. --- test/T200-thread-naming.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/T200-thread-naming.sh b/test/T200-thread-naming.sh index 132c1d77..2167ba8e 100755 --- a/test/T200-thread-naming.sh +++ b/test/T200-thread-naming.sh @@ -66,11 +66,11 @@ test_expect_equal "$output" "thread:XXX 2001-01-12 [6/8] Notmuch Test Suite; t test_begin_subtest "Use empty subjects if necessary." add_message '[subject]="@FORCE_EMPTY"' \ '[date]="Sat, 13 Jan 2001 15:43:45 -0000"' \ - '[from]="Empty Sender \"' + '[from]="Empty Sender "' empty_parent=${gen_msg_id} add_message '[subject]="@FORCE_EMPTY"' \ '[date]="Sun, 14 Jan 2001 15:43:45 -0000"' \ - '[from]="Empty Sender \"' \ + '[from]="Empty Sender "' \ "[in-reply-to]=\<$empty_parent\>" output=$(notmuch search --sort=newest-first from:empty_test@notmuchmail.org | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2001-01-14 [2/2] Empty Sender; (inbox unread)" @@ -78,15 +78,15 @@ test_expect_equal "$output" "thread:XXX 2001-01-14 [2/2] Empty Sender; (inbox test_begin_subtest "Avoid empty subjects if possible (newest-first)." add_message '[subject]="Non-empty subject (1)"' \ '[date]="Mon, 15 Jan 2001 15:43:45 -0000"' \ - '[from]="Empty Sender \"' \ + '[from]="Empty Sender "' \ "[in-reply-to]=\<$empty_parent\>" add_message '[subject]="Non-empty subject (2)"' \ '[date]="Mon, 16 Jan 2001 15:43:45 -0000"' \ - '[from]="Empty Sender \"' \ + '[from]="Empty Sender "' \ "[in-reply-to]=\<$empty_parent\>" add_message '[subject]="@FORCE_EMPTY"' \ '[date]="Tue, 17 Jan 2001 15:43:45 -0000"' \ - '[from]="Empty Sender \"' \ + '[from]="Empty Sender "' \ "[in-reply-to]=\<$empty_parent\>" output=$(notmuch search --sort=newest-first from:Empty | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2001-01-17 [5/5] Empty Sender; Non-empty subject (2) (inbox unread)" -- 2.11.0