X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT310-emacs.sh;h=1b6660f0a3598b6ec482c563ff02960b469284e1;hp=6c1e89799620e0d1d4c4a78619c155fe6d75b6d3;hb=a06b76b9b3c1212b17d2bb170bdd511711f578f8;hpb=dc8262bd336f1c406e5705ec8cb5029f1bacd524 diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index 6c1e8979..1b6660f0 100755 --- a/test/T310-emacs.sh +++ b/test/T310-emacs.sh @@ -1168,4 +1168,10 @@ This text added by the hook. EOF test_expect_equal_file EXPECTED OUTPUT +test_begin_subtest "notmuch-search with nonexistent CWD" +test_emacs '(test-log-error + (let ((default-directory "/nonexistent")) + (notmuch-search "*")))' +test_expect_equal "$(cat MESSAGES)" "COMPLETE" + test_done