]> git.notmuchmail.org Git - notmuch/commitdiff
test: Fix emacs FCC test to account for new maildir synchronization
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 12:12:43 +0000 (04:12 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 12:12:43 +0000 (04:12 -0800)
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).

test/emacs

index fb61e9ab81b309c91683ed253cad123d141a6672..75dec89c965e814a2c68e5fc352b5540564b2c4f 100755 (executable)
@@ -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_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
 
 test_begin_subtest "Reply within emacs"
 # We sed away everything before the ^From in the output to avoid getting