test: add missing quotes in maildir-sync test.
authorDavid Bremner <david@tethera.net>
Tue, 8 Aug 2017 16:35:07 +0000 (12:35 -0400)
committerDavid Bremner <david@tethera.net>
Thu, 17 Aug 2017 00:48:51 +0000 (21:48 -0300)
Oops. ';' is significant in the shell. Who knew.

test/T340-maildir-sync.sh

index 8024d86f85a4e98a2e2ca2a7f5b0833ce905b52c..2041e1a0fe39110445fc57a116c77b71cd9da33e 100755 (executable)
@@ -181,7 +181,7 @@ test_expect_equal "$(cd $MAIL_DIR/cur/; ls non-compliant*)" "non-compliant-maild
 
 test_begin_subtest "Files in new/ get default synchronized tags"
 OLDCONFIG=$(notmuch config get new.tags)
-notmuch config set new.tags test;unread
+notmuch config set new.tags "test;unread"
 add_message [subject]='"File in new/"' [dir]=new [filename]='file-in-new'
 notmuch config set new.tags $OLDCONFIG
 notmuch search 'subject:"File in new"' | notmuch_search_sanitize > output