X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT450-emacs-show.sh;h=4b5f5fdecafde48f5e36bf822a6b27534dcc93e4;hb=e43bad4883cf8a0c1d58d50238da599f9e170307;hp=5bb5b201a53faa1d0c11fbaa0319b3a085b2b0b6;hpb=ddbf3ffe9bfafa39f2142a7ff9ead202b4b88433;p=notmuch diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 5bb5b201..4b5f5fde 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -236,4 +236,11 @@ 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_emacs "(test-log-error + (let ((default-directory \"/nonexistent\")) + (notmuch-show \"$tid\")))" +test_expect_equal "$(cat MESSAGES)" "COMPLETE" + test_done