]> git.notmuchmail.org Git - notmuch/blobdiff - test/T680-html-indexing.sh
test: emacs/show: ensure that protected headers appear as expected
[notmuch] / test / T680-html-indexing.sh
index 5e9cc4cb76fb4a7a623df82837ecf23d6a93b45e..62ba849852310beaf815a5c30712991edefd0720 100755 (executable)
@@ -1,14 +1,17 @@
 #!/usr/bin/env bash
 test_description="indexing of html parts"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_email_corpus html
 
 test_begin_subtest 'embedded images should not be indexed'
-test_subtest_known_broken
 notmuch search kwpza7svrgjzqwi8fhb2msggwtxtwgqcxp4wbqr4wjddstqmeqa7 > OUTPUT
 test_expect_equal_file /dev/null OUTPUT
 
+test_begin_subtest 'ignore > in attribute text'
+notmuch search swordfish | notmuch_search_sanitize > OUTPUT
+test_expect_equal_file /dev/null OUTPUT
+
 test_begin_subtest 'non tag text should be indexed'
 notmuch search hunter2 | notmuch_search_sanitize > OUTPUT
 cat <<EOF > EXPECTED