X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT358-emacs-protected-headers.sh;h=bca78531af616f9258fef8efc964264def92d71a;hp=765511d4f50c761f2376eeeb7eaa926d7f39df3b;hb=HEAD;hpb=06dedd0a8365ee4b71f730651e00b1098369f9b9 diff --git a/test/T358-emacs-protected-headers.sh b/test/T358-emacs-protected-headers.sh index 765511d4..96e42bf3 100755 --- a/test/T358-emacs-protected-headers.sh +++ b/test/T358-emacs-protected-headers.sh @@ -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)