X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT310-emacs.sh;h=1b6660f0a3598b6ec482c563ff02960b469284e1;hb=d9a2b900b6525874b913276af91840983d81b3f1;hp=6c1e89799620e0d1d4c4a78619c155fe6d75b6d3;hpb=7556bb7da27621895327b84d22abba2519c24ba7;p=notmuch 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