test: known broken test for top level .notmuch in split configs

In split configurations there is no special significance to a top
level directory called .notmuch in the mail root. Users should
therefore be able to have mail stored underneath it.
This commit is contained in:
David Bremner 2022-01-16 11:25:10 -04:00
parent db44af75ad
commit 15b940d26a

View file

@ -336,6 +336,17 @@ db=Database(config=Database.CONFIG.SEARCH)
m=db.find('20091117232137.GA7669@griffis1.net') m=db.find('20091117232137.GA7669@griffis1.net')
to=m.header('To') to=m.header('To')
print(to) print(to)
EOF
test_expect_equal_file EXPECTED OUTPUT
test_begin_subtest ".notmuch not ignored in split config ($config)"
test_subtest_known_broken
generate_message '[dir]=.notmuch/cur' '[subject]="Do not ignore, very important"'
NOTMUCH_NEW > OUTPUT
notmuch search subject:Do-not-ignore | notmuch_search_sanitize >> OUTPUT
cat <<EOF > EXPECTED
Added 1 new message to the database.
thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Do not ignore, very important (inbox unread)
EOF EOF
test_expect_equal_file EXPECTED OUTPUT test_expect_equal_file EXPECTED OUTPUT
;; ;;