mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
test/emacs: run notmuch-hello with a nonexisting default dir
This replicates the problem reported in Debian bug #922536.
This commit is contained in:
parent
59d0d5a489
commit
06477bce03
1 changed files with 9 additions and 0 deletions
|
@ -68,4 +68,13 @@ test_emacs '(notmuch-hello)
|
||||||
notmuch tag -$tag '*'
|
notmuch tag -$tag '*'
|
||||||
test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
|
test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
|
||||||
|
|
||||||
|
test_begin_subtest "notmuch-hello with nonexistent CWD"
|
||||||
|
test_subtest_known_broken
|
||||||
|
test_emacs '
|
||||||
|
(notmuch-hello)
|
||||||
|
(test-log-error
|
||||||
|
(let ((default-directory "/nonexistent"))
|
||||||
|
(notmuch-hello-update)))'
|
||||||
|
test_expect_equal "$(cat MESSAGES)" "COMPLETE"
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue