aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-09-25 23:38:36 +0300
committerDavid Bremner <david@tethera.net>2017-10-20 20:49:50 -0300
commit1ab72b13cdbea40fbe6781b67f162f45215d4e75 (patch)
tree183400c14e99a57bdbae40697ebecca674d85222
parente216d9b7ab647e36c9e37121a7c99f4d2042e9c6 (diff)
test: use source and build paths in T4?0-emacs-*.sh
Make a distinction between source and build directories.
-rwxr-xr-xtest/T440-emacs-hello.sh2
-rwxr-xr-xtest/T450-emacs-show.sh2
-rwxr-xr-xtest/T460-emacs-tree.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/T440-emacs-hello.sh b/test/T440-emacs-hello.sh
index 76e79593..d23c1fca 100755
--- a/test/T440-emacs-hello.sh
+++ b/test/T440-emacs-hello.sh
@@ -3,7 +3,7 @@
test_description="emacs notmuch-hello view"
. $(dirname "$0")/test-lib.sh || exit 1
-EXPECTED=$TEST_DIRECTORY/emacs.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs.expected-output
add_email_corpus
diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh
index 95babb1f..d6aa5b41 100755
--- a/test/T450-emacs-show.sh
+++ b/test/T450-emacs-show.sh
@@ -3,7 +3,7 @@
test_description="emacs notmuch-show view"
. $(dirname "$0")/test-lib.sh || exit 1
-EXPECTED=$TEST_DIRECTORY/emacs-show.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs-show.expected-output
add_email_corpus
diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh
index dc597841..0f4e4503 100755
--- a/test/T460-emacs-tree.sh
+++ b/test/T460-emacs-tree.sh
@@ -3,7 +3,7 @@
test_description="emacs tree view interface"
. $(dirname "$0")/test-lib.sh || exit 1
-EXPECTED=$TEST_DIRECTORY/tree.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/tree.expected-output
add_email_corpus