Possible bug in tests with emacs 23.2.1 (debian stable)
Mark Walters
markwalters1009 at gmail.com
Tue Jan 3 12:19:23 PST 2012
On Tue, 03 Jan 2012 15:07:04 +0200, Tomi Ollila <tomi.ollila at nixu.com> wrote:
> I did some more testing; doing
>
> emacsclient --eval '(defun yes-or-no-p (prompt) t)' --eval '(kill-emacs)'
>
> Will make emacs 23.2.1 exit also, so IMO this "workaround" could be
> used to "fix" the problem.
I can confirm that the patch below (using this suggestion) fixes the
tests for me on emacs 23.2.1 and, on a different machine with emacs
23.3.1 they work just as before.
Best wishes
Mark
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 82767c0..218ce91 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -866,7 +866,7 @@ test_done () {
echo
- [ -n "$EMACS_SERVER" ] && test_emacs '(kill-emacs)'
+ [ -n "$EMACS_SERVER" ] && test_emacs '(defun yes-or-no-p (prompt) t) (kill-emacs)'
if [ "$test_failure" = "0" ]; then
if [ "$test_broken" = "0" ]; then
More information about the notmuch
mailing list