aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Boulain <kevin@boula.in>2023-03-29 18:19:58 +0200
committerDavid Bremner <david@tethera.net>2023-03-30 07:08:47 -0300
commit568f6bc3c2fd2396c05d254e2649750fb82b00b6 (patch)
tree597bcfb10e74da3dd98f2e60fbb2c59fd402a738 /test
parentc810312e24067a7176a26b35893cf64f754886c5 (diff)
lib/message-property: catch xapian exceptions
Since libnotmuch exposes a C interface there's no way for clients to catch this. Inspired by what's done for tags (see notmuch_message_remove_tag).
Diffstat (limited to 'test')
-rwxr-xr-xtest/T610-message-property.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/T610-message-property.sh b/test/T610-message-property.sh
index 402b4e9a..13f8a3f9 100755
--- a/test/T610-message-property.sh
+++ b/test/T610-message-property.sh
@@ -363,7 +363,6 @@ EOF
test_expect_equal_file /dev/null OUTPUT
test_begin_subtest "edit property on removed message without uncaught exception"
-test_subtest_known_broken
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
EXPECT0(notmuch_database_remove_message (db, notmuch_message_get_filename (message)));
stat = notmuch_message_remove_property (message, "example", "example");
@@ -380,7 +379,6 @@ test_expect_equal_file EXPECTED OUTPUT
add_email_corpus
test_begin_subtest "remove all properties on removed message without uncaught exception"
-test_subtest_known_broken
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
EXPECT0(notmuch_database_remove_message (db, notmuch_message_get_filename (message)));
stat = notmuch_message_remove_all_properties_with_prefix (message, "");