mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
test: add known broken test for insert with mbox as input
It seems reasonable that notmuch should try to avoid delivering messages in formats it cannot index.
This commit is contained in:
parent
190d8a7711
commit
4a380371e7
1 changed files with 6 additions and 0 deletions
|
@ -292,4 +292,10 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION ; do
|
||||||
test_expect_code 0 "notmuch_with_shim shim-$code insert --keep < \"$gen_msg_filename\""
|
test_expect_code 0 "notmuch_with_shim shim-$code insert --keep < \"$gen_msg_filename\""
|
||||||
done
|
done
|
||||||
|
|
||||||
|
test_begin_subtest "insert converts mboxes on delivery"
|
||||||
|
test_subtest_known_broken
|
||||||
|
notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/indexing/mbox-attachment.eml
|
||||||
|
output=$(notmuch count tag:unmboxed)
|
||||||
|
test_expect_equal "${output}" 1
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue