From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0IjUIgWy62JnTQAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 13:48:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iP7sIgWy62KLfgAA9RJhRA (envelope-from ) for ; Thu, 04 Aug 2022 13:48:21 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3D69B3A3D4 for ; Thu, 4 Aug 2022 13:48:21 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 13BA15F391; Thu, 4 Aug 2022 11:48:18 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 87DF95F37E for ; Thu, 4 Aug 2022 11:48:15 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id CD73B5FBC0; Thu, 4 Aug 2022 07:48:14 -0400 (EDT) Received: (nullmailer pid 490700 invoked by uid 1000); Thu, 04 Aug 2022 11:48:13 -0000 From: David Bremner To: David Bremner , notmuch@notmuchmail.org Subject: [PATCH 1/3] test/emacs: add known broken test for viewing raw duplicate Date: Thu, 4 Aug 2022 08:48:06 -0300 Message-Id: <20220804114808.490686-1-david@tethera.net> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220804110833.322155-2-david@tethera.net> References: <20220804110833.322155-2-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: Z76OIRDTHLYBLCKL5SV3EZRBON7X2QEF X-Message-ID-Hash: Z76OIRDTHLYBLCKL5SV3EZRBON7X2QEF X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659613701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=0u9xbgVg8OzRaIvImgF4SnJLi3BFJUNVRxBLzrAFkhc=; b=qgN04lnaIXzRq5NPi5/eD2xhhWkoykqvSi1QhSqBAd4e0A3Ry3DK62GAmGxn2zhIsl4NGR L8RwobNQ0cJV/AC0dRdADO3Qg2ZdvHek7X96d78Iw1tmD5fTdoPxBcB/BeiErChA0rdTOA uexv6bH70ShEj36KeEzPaLlLQvEaBt3AxrW4sqDjiouiokjL7ab0VytxkacziRbA0VoKLd AmVNZYc7jMXEkN38SyO92ugd695t96ch9uTKyfmykJUHxv1y9uZqIvhujR6r+E9RPoQJ++ kPxIShfI0nV4PBGDQhmY9q01YzqYFTYhnnEg/Zryc8Od8HxfnVZmY1qPhIjWsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659613701; a=rsa-sha256; cv=none; b=MIUyuFWQjsh/j3ZgLddKlmQUc7zS7I2jdlUnaibfRh/4RatvzBIxiV5IyjDX1uOYkZzJ3z 624nTbCuLTVuaBSNghIEDKrK5tBiyGBfXjUB0dvEkncGH9BRqbL2Z+wmc+exoS1O6TTc/M 1WhLH1vVDlWy6fYgDyOCMmedfIP+7ooo01ypy1+GZaRVTHY+Mp7Qr1IzoFBf6X/0EKGb69 ebohdxXGS6OwlCiWdK+hoign73+gWABX63NZ+Jq32QKlyMoI1xUkZJpxnx8N/ck729MwIP utrNKNVq/zreXWLUS3OoDekYy+kZ+3CvYYjI7Ca/dGN3BAW5MP1UJXeEw+19YQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 3D69B3A3D4 X-Spam-Score: -2.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: pehkq/QCWgG6 This duplicates one of the bugs reported by Gregor in [1]. [1]: id:87edxw8jp4.fsf@no.workgroup --- test/T450-emacs-show.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index ab611d56..83e902f1 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -381,4 +381,15 @@ test_emacs "(notmuch-show \"id:${ID3}\") (test-visible-output \"OUTPUT\")" test_expect_equal_file_nonempty $EXPECTED/notmuch-show-duplicate-4 OUTPUT +FILE4=$(notmuch search --output=files --duplicate=4 "id:${ID3}") +test_begin_subtest "duplicate=4, raw" +test_subtest_known_broken +test_emacs "(notmuch-show \"id:${ID3}\") + (notmuch-show-choose-duplicate 4) + (notmuch-show-view-raw-message) + (test-visible-output \"OUTPUT\")" +subject4=$(grep '^Subject:' $FILE4) +subject=$(grep '^Subject:' OUTPUT) +test_expect_equal "$subject4" "$subject" + test_done -- 2.35.2