X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT070-insert.sh;h=e1e3b151565d2ebc6016b7f97cf63db24e5f7382;hb=78632345868b5e4753ad402c806c29569946ce89;hp=9d29c859fc5df3b9f5e32ac66fa0e5023c47a1ee;hpb=e22bbb124e4f9191880e80d6517346f35bf7e2a9;p=notmuch diff --git a/test/T070-insert.sh b/test/T070-insert.sh index 9d29c859..e1e3b151 100755 --- a/test/T070-insert.sh +++ b/test/T070-insert.sh @@ -235,7 +235,6 @@ test_json_nodes <<<"$output" \ 'new_tags:[0][0][0]["tags"] = ["bar", "foo"]' test_begin_subtest "leading/trailing whitespace in new.tags is ignored" -test_subtest_known_broken # avoid complications with leading spaces and "notmuch config" sed -i 's/^tags=.*$/tags= fu bar ; ; bar /' notmuch-config gen_insert_msg @@ -293,4 +292,9 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION ; do test_expect_code 0 "notmuch_with_shim shim-$code insert --keep < \"$gen_msg_filename\"" done +test_begin_subtest "insert converts mboxes on delivery" +notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/indexing/mbox-attachment.eml +output=$(notmuch count tag:unmboxed) +test_expect_equal "${output}" 1 + test_done