Somewhat predictably, the other code path in notmuch-call-notmuch--helper also needs to be fixed. --- test/T450-emacs-show.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index a750cc4d..05e3692e 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -230,4 +230,12 @@ test_emacs '(let ((notmuch-crypto-process-mime nil)) (test-visible-output))' test_expect_equal_file $EXPECTED/notmuch-show-decrypted-message-no-crypto OUTPUT +test_begin_subtest "notmuch-show with nonexistent CWD" +tid=$(notmuch search --limit=1 --output=threads '*' | sed s/thread://) +test_subtest_known_broken +test_emacs "(test-log-error + (let ((default-directory \"/nonexistent\")) + (notmuch-show \"$tid\")))" +test_expect_equal "$(cat MESSAGES)" "COMPLETE" + test_done -- 2.33.0 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org