]> git.notmuchmail.org Git - notmuch/blobdiff - test/T460-emacs-tree.sh
Merge branch 'release'
[notmuch] / test / T460-emacs-tree.sh
index 76ababfd0a37b409d617b24d17c15a926b321520..cb2c90b80991ec4a1bf31529bc1f6e74493eefdd 100755 (executable)
@@ -1,9 +1,9 @@
 #!/usr/bin/env bash
 
 test_description="emacs tree view interface"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
-EXPECTED=$TEST_DIRECTORY/tree.expected-output
+EXPECTED=$NOTMUCH_SRCDIR/test/emacs-tree.expected-output
 
 add_email_corpus
 
@@ -137,7 +137,6 @@ test_emacs '(notmuch-hello)
            (select-window notmuch-tree-message-window)
            (test-output)
            (delete-other-windows)'
-cp OUTPUT /tmp/mjwout
 test_expect_equal_file $EXPECTED/notmuch-tree-show-window OUTPUT
 
 test_begin_subtest "Stash id"