From: Helmut Eller <eller.helmut@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15833@debbugs.gnu.org
Subject: bug#15833: 24.3.50; sit-for and sentinels
Date: Mon, 11 Nov 2013 08:41:06 +0100 [thread overview]
Message-ID: <m2bo1rwfl9.fsf@gmail.com> (raw)
In-Reply-To: <jwvk3gfwn1q.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Mon, 11 Nov 2013 00:08:08 -0500")
On Mon, Nov 11 2013, Stefan Monnier wrote:
>> src/emacs -Q -l test/automated/process-tests.el -f ert-run-tests-batch
>> The sit-for test fails. The contents of the *Messages* buffer is:
>
> Hmm... for me if I add "--batch" then both tests succeed, and if
> I use the above command as is (i.e.in an X11 Emacs session) then both
> tests fail.
>
> So, it might be timing-dependent. E.g. it might depend on whether the
> process dies before we get to the wait-function?
When I let the process wait a little before exiting, by changing
(start-process "test" nil "bash" "-c" "exit 20")
to
(start-process "test" nil "bash" "-c" "sleep 2; exit 20")
the test still fails; even sometimes, but not always, with --batch.
Helmut
prev parent reply other threads:[~2013-11-11 7:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 9:07 bug#15833: 24.3.50; sit-for and sentinels Helmut Eller
2013-11-11 5:08 ` Stefan Monnier
2013-11-11 7:41 ` Helmut Eller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bo1rwfl9.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=15833@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).