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 <sen...@example.com>"' \ + [to]=test_su...@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 <<EOF > EXPECTED +From: Notmuch Test Suite <test_su...@notmuchmail.org> +Subject: Re: notmuch-reply-test +To: Sender <sen...@example.com> +In-Reply-To: <${gen_msg_id}> +References: <${gen_msg_id}> + +On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sen...@example.com> wrote: +> basic reply test +EOF + test_expect_equal_file EXPECTED OUTPUT restore_config done -- 2.30.0 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org