bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30327: 27.0.50; Failures in files-tests.el on macOS


From: Philipp Stephani
Subject: bug#30327: 27.0.50; Failures in files-tests.el on macOS
Date: Fri, 02 Feb 2018 23:57:10 +0000



Alan Third <alan@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). 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]