GNU bug report logs - #15833
24.3.50; sit-for and sentinels

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Fri, 8 Nov 2013 09:09:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.5

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Helmut Eller <eller.helmut <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15833 <at> debbugs.gnu.org
Subject: bug#15833: 24.3.50; sit-for and sentinels
Date: Mon, 11 Nov 2013 08:41:06 +0100
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




This bug report was last modified 8 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.