]> git.notmuchmail.org Git - notmuch/blobdiff - test/T358-emacs-protected-headers.sh
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / test / T358-emacs-protected-headers.sh
index 765511d4f50c761f2376eeeb7eaa926d7f39df3b..96e42bf37eaccfc2152e10093d87a3d84662b2c7 100755 (executable)
@@ -1,9 +1,11 @@
 #!/usr/bin/env bash
 
-test_description="emacs interface"
+test_description="protected headers in emacs interface"
 . $(dirname "$0")/test-lib.sh || exit 1
+. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1
 
 # testing protected headers with emacs
+test_require_emacs
 add_gnupg_home
 add_email_corpus protected-headers
 
@@ -92,7 +94,6 @@ test_expect_equal_file EXPECTED OUTPUT
 
 # notmuch-emacs still leaks the subject line:
 test_begin_subtest "don't leak protected subject during reply, even if indexed"
-test_subtest_known_broken
 test_emacs "(let ((message-hidden-headers '()))
            (notmuch-show \"id:protected-header@crypto.notmuchmail.org\")
            (notmuch-show-reply)