From: Jani Nikula <jani@nikula.org>
Date: Mon, 25 Sep 2017 20:38:36 +0000 (+0300)
Subject: test: use source and build paths in T4?0-emacs-*.sh
X-Git-Tag: 0.26_rc0~84
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=1ab72b13cdbea40fbe6781b67f162f45215d4e75;p=notmuch-old

test: use source and build paths in T4?0-emacs-*.sh

Make a distinction between source and build directories.
---

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