aboutsummaryrefslogtreecommitdiff
path: root/test/T310-emacs.sh
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-09-25 23:38:31 +0300
committerDavid Bremner <david@tethera.net>2017-10-20 19:56:13 -0300
commitf6b098b1a6adf5646a9246129bfaff443db0b467 (patch)
tree45374705b561510e4d36142e3b58dced877985d6 /test/T310-emacs.sh
parentb079133ca80a0ca996981d902c35c870f604d42f (diff)
test: use source and build paths in T310-emacs.sh
Make a distinction between source and build directories.
Diffstat (limited to 'test/T310-emacs.sh')
-rwxr-xr-xtest/T310-emacs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh
index 8c738c47..ba08167f 100755
--- a/test/T310-emacs.sh
+++ b/test/T310-emacs.sh
@@ -3,13 +3,13 @@
test_description="emacs interface"
. $(dirname "$0")/test-lib.sh || exit 1
-EXPECTED=$TEST_DIRECTORY/emacs.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs.expected-output
add_email_corpus
# syntax errors in test-lib.el cause mysterious failures
test_begin_subtest "Syntax of emacs test library"
-test_expect_success "${TEST_EMACS} -Q --batch --load $TEST_DIRECTORY/test-lib.el"
+test_expect_success "${TEST_EMACS} -Q --batch --load $NOTMUCH_SRCDIR/test/test-lib.el"
test_begin_subtest "Basic notmuch-hello view in emacs"
test_emacs '(notmuch-hello)