X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT460-emacs-tree.sh;h=0f23b418ecfa1bd8da04676f9d327a14b2e7fe5e;hb=2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854;hp=946583d9f397f6602363804735fb2fa0779f0799;hpb=dc8262bd336f1c406e5705ec8cb5029f1bacd524;p=notmuch diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh index 946583d9..0f23b418 100755 --- a/test/T460-emacs-tree.sh +++ b/test/T460-emacs-tree.sh @@ -194,4 +194,10 @@ test_emacs ' ' test_expect_equal_file $EXPECTED/result-format-function OUTPUT +test_begin_subtest "notmuch-tree with nonexistent CWD" +test_emacs '(test-log-error + (let ((default-directory "/nonexistent")) + (notmuch-tree "*")))' +test_expect_equal "$(cat MESSAGES)" "COMPLETE" + test_done