diff options
author | Jani Nikula <jani@nikula.org> | 2014-01-01 17:20:13 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-01-03 07:12:47 -0400 |
commit | b00a62b3d9052efb6b2c93a1f970c264fa8c4402 (patch) | |
tree | ae7b74dd507e9c1ab1ef316fd3c9a8cf18001f8a /test | |
parent | e36284d72df4a9f130bfd07290e068ff2550384b (diff) |
test: notmuch insert with maildir.synchronize_flags=false
Known broken, notmuch insert does not respect the config option.
Diffstat (limited to 'test')
-rwxr-xr-x | test/insert | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/insert b/test/insert index 550b4132..9283e70b 100755 --- a/test/insert +++ b/test/insert @@ -113,6 +113,17 @@ output=$(notmuch search --output=files id:$gen_msg_id) dirname=$(dirname "$output") test_expect_equal "$dirname" "$MAIL_DIR/cur" +test_begin_subtest "Insert message with maildir sync off goes to new/" +test_subtest_known_broken +OLDCONFIG=$(notmuch config get maildir.synchronize_flags) +notmuch config set maildir.synchronize_flags false +gen_insert_msg +notmuch insert +flagged < "$gen_msg_filename" +output=$(notmuch search --output=files id:$gen_msg_id) +dirname=$(dirname "$output") +notmuch config set maildir.synchronize_flags $OLDCONFIG +test_expect_equal "$dirname" "$MAIL_DIR/new" + test_begin_subtest "Insert message into folder" gen_insert_msg notmuch insert --folder=Drafts < "$gen_msg_filename" |