X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT440-emacs-hello.sh;h=a1ed1c2b90ec7c821d6033a013ba44155a2296f1;hb=2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854;hp=bafccd1f355f45450348fc30cfe2718049fd9e13;hpb=8dbd5deb8d3bbfda9554163c8d4cb2474c505c87;p=notmuch diff --git a/test/T440-emacs-hello.sh b/test/T440-emacs-hello.sh index bafccd1f..a1ed1c2b 100755 --- a/test/T440-emacs-hello.sh +++ b/test/T440-emacs-hello.sh @@ -68,4 +68,12 @@ test_emacs '(notmuch-hello) notmuch tag -$tag '*' test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT +test_begin_subtest "notmuch-hello with nonexistent CWD" +test_emacs ' + (notmuch-hello) + (test-log-error + (let ((default-directory "/nonexistent")) + (notmuch-hello-update)))' +test_expect_equal "$(cat MESSAGES)" "COMPLETE" + test_done