Subject: 24.3.50; sit-for and sentinels
From: Helmut Eller <[email-masked]>
To: [email-masked]
Date: Fri, 08 Nov 2013 10:07:37 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I updated Emacs sources today like this:

  git pull  # from git://git.savannah.gnu.org/emacs.git. 
  make bootstrap
  
Then I executed

  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:

Unable to load color "unspecified-fg"
For information about GNU Emacs and the GNU system, type C-h C-a.
Unable to load color "unspecified-fg"
Running 2 tests (2013-11-08 10:00:17+0100)
   passed  1/2  process-test-sentinel-accept-process-output
Test process-test-sentinel-sit-for backtrace:
  (if (unwind-protect (setq value-13507 (apply fn-13505 args-13506)) (
  (let (form-description-13509) (if (unwind-protect (setq value-13507 
  (let ((value-13507 (quote ert-form-evaluation-aborted-13508))) (let 
  (let ((fn-13505 (function process-test-sentinel-wait-function-workin
  (lambda nil (let ((fn-13505 (function process-test-sentinel-wait-fun
  #[0 "\306\307!r\211q\210\310\311\312\313\314\315..!\316\"\317\320%DC
  funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315..!\316\"\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  #[0 "r\304 q\210\305 )\306\307\310\311\312\313..!\314\"\315\316%DC\2
  funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313..!\314\"\315\
  ert-run-test([cl-struct-ert-test process-test-sentinel-sit-for nil (
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
  ert-run-tests(t #[385 "\306.\307\"\203D.\211\211G\310U\203..\211@\20
  ert-run-tests-batch()
  command-line-1(("-l" "test/automated/process-tests.el" "-f" "ert-run
  command-line()
  normal-top-level()
Test process-test-sentinel-sit-for condition:
    (ert-test-failed
     ((should
       (process-test-sentinel-wait-function-working-p
	(lambda nil ...)))
      :form
      (process-test-sentinel-wait-function-working-p
       (lambda nil
	 (sit-for 0.01 t)))
      :value nil))
Unable to load color "unspecified-fg"
   FAILED  2/2  process-test-sentinel-sit-for

Ran 2 tests, 1 results as expected, 1 unexpected (2013-11-08 10:00:19+0100)

1 unexpected results:
   FAILED  process-test-sentinel-sit-for

And here are some bits from my configuration:

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2013-11-08 on ix
System Description:	Debian GNU/Linux 7.1 (wheezy)

Configured using:
 `configure --with-jpeg=no --with-gif=no --with-tiff=no'

Important settings:
  value of $LANG: en_US
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t