From: Carl Worth Date: Thu, 11 Nov 2010 11:43:09 +0000 (-0800) Subject: test: Drop test for propagating flag changes from one file to another X-Git-Tag: 0.5~27 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=483f422699cc480b856ceeac77a4fa5d11f82ea0 test: Drop test for propagating flag changes from one file to another There's nothing in the current API documentation that would suggest the behavior being tested here. Attempt to implement this could have some nasty side effects, (such as notmuch_message_maildir_flags_to_tags implicitly calling notmuch_message_tags_to_maildir_flags and maybe even opening up some bad looping possibilities). Much better to stick with what we have documented, which we believe will actually be useful, (and easy enough to comprehend). --- diff --git a/test/maildir-sync b/test/maildir-sync index 5984f542..363534aa 100755 --- a/test/maildir-sync +++ b/test/maildir-sync @@ -155,11 +155,6 @@ notmuch search subject:"Duplicated message" | notmuch_search_sanitize >> output test_expect_equal "$(< output)" "No new mail. thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Duplicated message (inbox replied)" -test_begin_subtest "Duplicate mail with new flags propagates flag to original file" -(cd $MAIL_DIR/cur/; ls duplicated*) > actual -test_expect_equal "$(< actual)" "duplicated-message:2,RS -duplicated-message-copy:2,RS" - test_begin_subtest "Adding duplicate message without flags does not remove tags" cp "$MAIL_DIR/cur/duplicated-message-copy:2,RS" "$MAIL_DIR/cur/duplicated-message-another-copy:2," increment_mtime $MAIL_DIR/cur