mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
test/emacs: test for notmuch-search with nonexistent CWD
(At least) notmuch-start-notmuch needs to be updated to set a safe working directory.
This commit is contained in:
parent
5e5f2122f9
commit
88224bde62
1 changed files with 7 additions and 0 deletions
|
@ -1168,4 +1168,11 @@ This text added by the hook.
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
test_begin_subtest "notmuch-search with nonexistent CWD"
|
||||||
|
test_subtest_known_broken
|
||||||
|
test_emacs '(test-log-error
|
||||||
|
(let ((default-directory "/nonexistent"))
|
||||||
|
(notmuch-search "*")))'
|
||||||
|
test_expect_equal "$(cat MESSAGES)" "COMPLETE"
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue