]> git.notmuchmail.org Git - notmuch/blobdiff - test/T440-emacs-hello.sh
emacs: use --exclude=false when checking for empty searches
[notmuch] / test / T440-emacs-hello.sh
index 9d1e5a9c2048d3d3b76b63b260fa53c6c4f65295..dc80cc75880d59845a02e7c5b29c7b4965d7c0ce 100755 (executable)
@@ -68,8 +68,18 @@ test_emacs '(notmuch-hello)
 notmuch tag -$tag '*'
 test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
 
-test_begin_subtest "notmuch-hello with nonexistent CWD"
+test_begin_subtest "All tags show up"
 test_subtest_known_broken
+tag=exclude_me
+notmuch tag +$tag '*'
+notmuch config set search.exclude_tags $tag
+test_emacs '(notmuch-hello)
+            (test-output)'
+notmuch tag -$tag '*'
+test_expect_equal_file $EXPECTED/notmuch-hello-all-tags OUTPUT
+
+test_done
+test_begin_subtest "notmuch-hello with nonexistent CWD"
 test_emacs '
       (notmuch-hello)
       (test-log-error