From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oKYMIBqJIGDzDAAA0tVLHw (envelope-from ) for ; Mon, 08 Feb 2021 00:43:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2BLMGxqJIGDTOQAAB5/wlQ (envelope-from ) for ; Mon, 08 Feb 2021 00:43:06 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33F6494029C for ; Mon, 8 Feb 2021 00:43:06 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2B65126A20; Sun, 7 Feb 2021 19:41:59 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 165341FF55 for ; Sun, 7 Feb 2021 19:41:35 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 11BF2606DB; Sun, 7 Feb 2021 19:41:35 -0500 (EST) Received: (nullmailer pid 1193292 invoked by uid 1000); Mon, 08 Feb 2021 00:41:15 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: David Bremner Subject: [PATCH 20/23] CLI/reply: tests for split config Date: Sun, 7 Feb 2021 20:41:06 -0400 Message-Id: <20210208004109.1192719-21-david@tethera.net> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208004109.1192719-1-david@tethera.net> References: <20210208004109.1192719-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 7HRO4BEPNOFU22VHZXROKQEYO7P3CS52 X-Message-ID-Hash: 7HRO4BEPNOFU22VHZXROKQEYO7P3CS52 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 33F6494029C X-Spam-Score: -0.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: B/NHf6F1TQSn Citing the original message requires access to the mail files. --- test/T055-path-config.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index 7bd9739b..d0019cd1 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -122,6 +122,25 @@ for config in traditional split+prefix split XDG XDG+profile; do notmuch search --output=messages '*' | sort > OUTPUT test_expect_equal_file EXPECTED OUTPUT + + test_begin_subtest "reply ($config)" + add_message '[from]="Sender "' \ + [to]=test_suite@notmuchmail.org \ + [subject]=notmuch-reply-test \ + '[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \ + '[body]="basic reply test"' + notmuch reply id:${gen_msg_id} 2>&1 > OUTPUT + cat < EXPECTED +From: Notmuch Test Suite +Subject: Re: notmuch-reply-test +To: Sender +In-Reply-To: <${gen_msg_id}> +References: <${gen_msg_id}> + +On Tue, 05 Jan 2010 15:43:56 -0000, Sender wrote: +> basic reply test +EOF + test_expect_equal_file EXPECTED OUTPUT restore_config done -- 2.30.0