X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT460-emacs-tree.sh;h=195485c156d312f46680792284ec62048faee828;hb=595b61ef47bf6b8f8a6b32e85664d0256e979392;hp=76ababfd0a37b409d617b24d17c15a926b321520;hpb=ec3937b5cd2884504d5536dc8631a15fd506050b;p=notmuch diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh index 76ababfd..195485c1 100755 --- a/test/T460-emacs-tree.sh +++ b/test/T460-emacs-tree.sh @@ -1,10 +1,11 @@ #!/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 +test_require_emacs add_email_corpus test_begin_subtest "Basic notmuch-tree view in emacs" @@ -137,7 +138,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"