From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Cc: jwilk@jwilk.net
Subject: [PATCH 1/3] test: rename indexing corpus
Date: Sat, 20 Aug 2022 11:50:05 -0700 [thread overview]
Message-ID: <20220820185007.289543-2-david@tethera.net> (raw)
In-Reply-To: <20220820185007.289543-1-david@tethera.net>
The corpus is not really suitable for general indexing test since the
sole message is ignored (and will most likely continue to be ignored)
by notmuch-new.
---
test/T070-insert.sh | 2 +-
test/corpora/{indexing => insert}/mbox-attachment.eml | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename test/corpora/{indexing => insert}/mbox-attachment.eml (100%)
diff --git a/test/T070-insert.sh b/test/T070-insert.sh
index 7d5f842d..73953272 100755
--- a/test/T070-insert.sh
+++ b/test/T070-insert.sh
@@ -293,7 +293,7 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION ; do
done
test_begin_subtest "insert converts mboxes on delivery"
-notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/indexing/mbox-attachment.eml
+notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/insert/mbox-attachment.eml
output=$(notmuch count tag:unmboxed)
test_expect_equal "${output}" 1
diff --git a/test/corpora/indexing/mbox-attachment.eml b/test/corpora/insert/mbox-attachment.eml
similarity index 100%
rename from test/corpora/indexing/mbox-attachment.eml
rename to test/corpora/insert/mbox-attachment.eml
--
2.35.1
next prev parent reply other threads:[~2022-08-20 18:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-20 18:50 WIP: index text attachments David Bremner
2022-08-20 18:50 ` David Bremner [this message]
2022-09-03 12:10 ` [PATCH 1/3] test: rename indexing corpus David Bremner
2022-08-20 18:50 ` [PATCH 2/3] test: add known broken test for indexing text/* attachments David Bremner
2022-08-20 18:50 ` [PATCH 3/3] WIP/lib: index all text/* attachements David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220820185007.289543-2-david@tethera.net \
--to=david@tethera.net \
--cc=jwilk@jwilk.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).