]> git.notmuchmail.org Git - notmuch/blobdiff - test/T440-emacs-hello.sh
test: source $NOTMUCH_SRCDIR/test/test-lib-emacs.sh
[notmuch] / test / T440-emacs-hello.sh
index ac214a5b2b451c05d0b6d2baa9b733362e8fbf7d..bafccd1f355f45450348fc30cfe2718049fd9e13 100755 (executable)
@@ -1,10 +1,12 @@
 #!/usr/bin/env bash
 
 test_description="emacs notmuch-hello view"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
+. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1
 
-EXPECTED=$TEST_DIRECTORY/emacs.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs.expected-output
 
+test_require_emacs
 add_email_corpus
 
 test_begin_subtest "User-defined section with inbox tag"