aboutsummaryrefslogtreecommitdiff
path: root/test/T050-new.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-08-20 11:50:06 -0700
committerDavid Bremner <david@tethera.net>2022-09-03 09:06:08 -0300
commit8eabd6388ecb7bea8246a9ba6943a0432d23406e (patch)
tree89601fd763f399aa2928a15314b000c2538b76df /test/T050-new.sh
parenta832f940e10dee79029556c002b522daadb07d74 (diff)
test: add known broken test for indexing text/* attachments
The general problem of indexing attachments requires some help to turn things into text, but (most?) text/* should be doable internally, possibly with optimizations as for the text/html case.
Diffstat (limited to 'test/T050-new.sh')
-rwxr-xr-xtest/T050-new.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh
index 6791f87c..cb67889c 100755
--- a/test/T050-new.sh
+++ b/test/T050-new.sh
@@ -455,4 +455,12 @@ Date: Fri, 17 Jun 2016 22:14:41 -0400
EOF
test_expect_equal_file EXPECTED OUTPUT
+add_email_corpus indexing
+
+test_begin_subtest "index text/* attachments"
+test_subtest_known_broken
+notmuch search id:20200930101213.2m2pt3jrspvcrxfx@localhost.localdomain > EXPECTED
+notmuch search id:20200930101213.2m2pt3jrspvcrxfx@localhost.localdomain and ersatz > OUTPUT
+test_expect_equal_file_nonempty EXPECTED OUTPUT
+
test_done