]> git.cworth.org Git - notmuch/blobdiff - test/T440-emacs-hello.sh
test: define test_private_C
[notmuch] / test / T440-emacs-hello.sh
index a1ed1c2b90ec7c821d6033a013ba44155a2296f1..842781a48c3512c82c259688947f8b87b1f53167 100755 (executable)
@@ -68,6 +68,16 @@ test_emacs '(notmuch-hello)
 notmuch tag -$tag '*'
 test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
 
+test_begin_subtest "All tags show up"
+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)