GNU bug report logs - #44241
time-tests-display-time-update fails on hosts with mail

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 26 Oct 2020 16:15:02 UTC

Severity: minor

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: time-tests-display-time-update fails on hosts with mail
Date: Mon, 26 Oct 2020 12:14:46 -0400
Package: emacs
Version: 28.0.50
Severity: minor

time-tests-display-time-update fails on a host with mail:

Test time-tests-display-time-update condition:
    (ert-test-failed
     ((should
       (string-match
	(rx string-start ... digit ":" digit digit ... " " ... ...)
	display-time-string))
      :form
      (string-match "\\`[[:digit:]]?[[:digit:]]:[[:digit:]][[:digit:]]\\(?:[AP]M\\)? \\(?:[[:digit:]]\\|\\.\\)+\\'"
		    #("7:48AM 1.02 Mail" 0 6
		      (help-echo "Mon Oct 26, 2020")
		      6 11
		      (local-map ... mouse-face mode-line-highlight help-echo "System load average for past 5 minutes; mouse-2: next")
		      12 16
		      (local-map ... mouse-face mode-line-highlight help-echo "You have new mail; mouse-2: Read mail" face nil display ...)))
      :value nil))
   FAILED  3/8  time-tests-display-time-update (0.000708 sec)




This bug report was last modified 4 years and 206 days ago.

Previous Next


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