GNU bug report logs - #30327
27.0.50; Failures in files-tests.el on macOS

Previous Next

Package: emacs;

Reported by: Alan Third <alan <at> idiocy.org>

Date: Fri, 2 Feb 2018 20:33:02 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Michael Albinus <michael.albinus <at> gmx.de>, 30327 <at> debbugs.gnu.org
Subject: Re: bug#30327: 27.0.50; Failures in files-tests.el on macOS
Date: Fri, 02 Feb 2018 23:57:10 +0000
[Message part 1 (text/plain, inline)]
Alan Third <alan <at> idiocy.org> schrieb am Sa., 3. Feb. 2018 um 00:05 Uhr:

> On Fri, Feb 02, 2018 at 11:03:15PM +0100, Michael Albinus wrote:
> > My crystal ball tells me, that your temporary-file-directory is located
> > on a symlinked directory.
> >
> > Does the following patch cures it?
>
> Yes, thank you, that fixes one. Here is a bit more information on the
> other:
>
> F files-tests-file-name-non-special-directory-files-and-attributes
>     (ert-test-failed
>      ((should
>        (equal
>         (directory-files-and-attributes nospecial-dir)
>         (directory-files-and-attributes tmpdir)))
>       :form
>       (equal
>        (("." t 2 501 20
>          (23156 60751 10790 323000)
>          (23156 60751 10688 536000)
>          (23156 60751 10688 536000)
>          64 "drwx------" ...)
>         (".." t 187 501 20
>          (23156 60750 989630 970000)
>          (23156 60751 10697 474000)
>          (23156 60751 10697 474000)
>          5984 "drwx------" ...))
>        (("." t 2 501 20
>          (23156 60751 10850 531000)
>          (23156 60751 10688 536000)
>          (23156 60751 10688 536000)
>          64 "drwx------" ...)
>         (".." t 187 501 20
>          (23156 60750 989630 970000)
>          (23156 60751 10697 474000)
>          (23156 60751 10697 474000)
>          5984 "drwx------" ...)))
>       :value nil :explanation
>       (list-elt 0
>                 (list-elt 5
>                           (list-elt 2
>                                     (different-atoms ... ...))))))
>
> I don’t have the first clue what it means...
>

The differing element is the last access time. This isn't surprising given
that reading the directory accesses it. Probably the test should simply
ignore the fifth element (the access time).
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 110 days ago.

Previous Next


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