projects
/
notmuch-old
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d0d5a
)
test/emacs: run notmuch-hello with a nonexisting default dir
author
David Bremner
<david@tethera.net>
Sun, 29 Aug 2021 19:23:28 +0000
(12:23 -0700)
committer
David Bremner
<david@tethera.net>
Sat, 11 Sep 2021 13:13:22 +0000
(10:13 -0300)
This replicates the problem reported in Debian bug #922536.
test/T440-emacs-hello.sh
patch
|
blob
|
history
diff --git
a/test/T440-emacs-hello.sh
b/test/T440-emacs-hello.sh
index bafccd1f355f45450348fc30cfe2718049fd9e13..9d1e5a9c2048d3d3b76b63b260fa53c6c4f65295 100755
(executable)
--- a/
test/T440-emacs-hello.sh
+++ b/
test/T440-emacs-hello.sh
@@
-68,4
+68,13
@@
test_emacs '(notmuch-hello)
notmuch tag -$tag '*'
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