mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
test/emacs: test for notmuch-show with nonexistent CWD
Somewhat predictably, the other code path in notmuch-call-notmuch--helper also needs to be fixed.
This commit is contained in:
parent
eb226437e1
commit
9fe36d7dc7
1 changed files with 8 additions and 0 deletions
|
@ -236,4 +236,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
|
||||
|
|
Loading…
Reference in a new issue