X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT610-message-property.sh;h=afcda4a85e6070f0e9b7137abb2538bdb70fa899;hp=1bc423b58bd0018a5606af149576c917c88c47fb;hb=336334996750240608d5f29ed5dd8e40a69c4d79;hpb=e191d3c574e91199e524acbf6d7199bd58fd73d5 diff --git a/test/T610-message-property.sh b/test/T610-message-property.sh index 1bc423b5..afcda4a8 100755 --- a/test/T610-message-property.sh +++ b/test/T610-message-property.sh @@ -152,8 +152,19 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "notmuch_message_remove_all_properties" +test_subtest_known_broken cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} EXPECT0(notmuch_message_remove_all_properties (message, NULL)); +EXPECT0(notmuch_database_destroy(db)); +EXPECT0(notmuch_database_open_with_config (argv[1], + NOTMUCH_DATABASE_MODE_READ_WRITE, + "", NULL, &db, &msg)); +if (msg) fputs (msg, stderr); +EXPECT0(notmuch_database_find_message(db, "4EFC743A.3060609@april.org", &message)); +if (message == NULL) { + fprintf (stderr, "unable to find message"); + exit (1); +} print_properties (message, "", FALSE); EOF cat <<'EOF' >EXPECTED