aboutsummaryrefslogtreecommitdiff
path: root/test/maildir-sync
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-11-11 14:32:17 -0800
committerCarl Worth <cworth@cworth.org>2010-11-11 14:32:17 -0800
commit95dd5fe5d7e9cd8169a6e3174ea27376acd92870 (patch)
tree086a08792cea3817755584a4dc3cae91851639f8 /test/maildir-sync
parent1ea0b8bfe164a0f7a3e750236b8aef9b5ab8917e (diff)
notmuch_message_tags_to_maildir_flags: Do nothing outside of "new" and "cur"
Some people use notmuch with non-maildir files, (for example, email messages in MH format, or else cool things like using sluk[*] to suck down feeds into a format that notmuch can index). To better support uses like that, don't do any renaming for files that are not in a directory named either "new" or "cur". [*] https://github.com/krl/sluk/
Diffstat (limited to 'test/maildir-sync')
-rwxr-xr-xtest/maildir-sync2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/maildir-sync b/test/maildir-sync
index d3931a1..df9351d 100755
--- a/test/maildir-sync
+++ b/test/maildir-sync
@@ -118,7 +118,7 @@ output+=$(notmuch search subject:"Message to lose maildir info" | notmuch_search
test_expect_equal "$output" "No new mail. Detected 1 file rename.
thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Message to lose maildir info (inbox)"
-add_message [subject]='"Non-maildir message"' [dir]=notmaildir/new [filename]='non-maildir-message'
+add_message [subject]='"Non-maildir message"' [dir]=notmaildir [filename]='non-maildir-message'
expected=$(notmuch search --output=files subject:"Non-maildir message")
test_expect_success "Can remove unread tag from message in non-maildir directory" 'notmuch tag -unread subject:"Non-maildir message"'