]> git.notmuchmail.org Git - notmuch/blob - test/T680-html-indexing.sh
test: add known broken test for indexing html
[notmuch] / test / T680-html-indexing.sh
1 #!/usr/bin/env bash
2 test_description="indexing of html parts"
3 . ./test-lib.sh || exit 1
4
5 add_email_corpus html
6
7 test_begin_subtest 'embedded images should not be indexed'
8 test_subtest_known_broken
9 notmuch search kwpza7svrgjzqwi8fhb2msggwtxtwgqcxp4wbqr4wjddstqmeqa7 > OUTPUT
10 test_expect_equal_file /dev/null OUTPUT
11
12 test_begin_subtest 'non tag text should be indexed'
13 notmuch search hunter2 | notmuch_search_sanitize > OUTPUT
14 cat <<EOF > EXPECTED
15 thread:XXX   2009-11-17 [1/1] David Bremner; test html attachment (inbox unread)
16 EOF
17 test_expect_equal_file EXPECTED OUTPUT
18
19 test_done