[PATCH 1/3] test: rename indexing corpus

Subject: [PATCH 1/3] test: rename indexing corpus

Date: Sat, 20 Aug 2022 11:50:05 -0700

To: notmuch@notmuchmail.org

Cc: jwilk@jwilk.net

From: David Bremner


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

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: