]> git.cworth.org Git - notmuch/blobdiff - test/T310-emacs.sh
Merge tag 'debian/0.34.2-1'
[notmuch] / test / T310-emacs.sh
index 6c1e89799620e0d1d4c4a78619c155fe6d75b6d3..1b6660f0a3598b6ec482c563ff02960b469284e1 100755 (executable)
@@ -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