From: Carl Worth Date: Thu, 11 Nov 2010 12:12:43 +0000 (-0800) Subject: test: Fix emacs FCC test to account for new maildir synchronization X-Git-Tag: 0.5~22 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=666e410b60855dd714c2b4f36085aeae1810907c test: Fix emacs FCC test to account for new maildir synchronization The FCC code saves a message in maildir format, and sets the S flag by default, so now, automatically, FCC messages will not show up as "unread", (which seems natural enough). --- diff --git a/test/emacs b/test/emacs index fb61e9ab..75dec89c 100755 --- a/test/emacs +++ b/test/emacs @@ -97,7 +97,7 @@ This is a test that messages are sent via SMTP" test_begin_subtest "Verify that sent messages are saved/searchable (via FCC)" notmuch new > /dev/null output=$(notmuch search 'subject:"testing message sent via SMTP"' | notmuch_search_sanitize) -test_expect_equal "$output" "thread:XXX 1974-03-29 [1/1] Notmuch Test Suite; Testing message sent via SMTP (inbox unread)" +test_expect_equal "$output" "thread:XXX 1974-03-29 [1/1] Notmuch Test Suite; Testing message sent via SMTP (inbox)" test_begin_subtest "Reply within emacs" # We sed away everything before the ^From in the output to avoid getting