]> git.notmuchmail.org Git - notmuch/blobdiff - test/T460-emacs-tree.sh
test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
[notmuch] / test / T460-emacs-tree.sh
index 958ff888a8652127a855ffe2509af61e247cd11a..dfc69049a0ac8414eefb58186761327d92891fad 100755 (executable)
@@ -1,10 +1,12 @@
 #!/usr/bin/env bash
 
 test_description="emacs tree view interface"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
+. $(dirname "$0")/test-lib-emacs.sh || exit 1
 
-EXPECTED=$TEST_DIRECTORY/tree.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs-tree.expected-output
 
+test_require_emacs
 add_email_corpus
 
 test_begin_subtest "Basic notmuch-tree view in emacs"