unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: Michael Albinus <michael.albinus@gmx.de>, 30327@debbugs.gnu.org
Subject: bug#30327: 27.0.50; Failures in files-tests.el on macOS
Date: Fri, 02 Feb 2018 23:57:10 +0000	[thread overview]
Message-ID: <CAArVCkSBrUum-RJsMuJZnVBP1jwBcTEv_FoVoWkZ_MbUZYe-og@mail.gmail.com> (raw)
In-Reply-To: <20180202230441.GA9047@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]

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).

[-- Attachment #2: Type: text/html, Size: 2438 bytes --]

  reply	other threads:[~2018-02-02 23:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02 20:31 bug#30327: 27.0.50; Failures in files-tests.el on macOS Alan Third
2018-02-02 21:03 ` Noam Postavsky
2018-02-02 22:03 ` Michael Albinus
2018-02-02 23:04   ` Alan Third
2018-02-02 23:57     ` Philipp Stephani [this message]
2018-02-03  5:47       ` Noam Postavsky
2018-02-03 16:13         ` Alan Third
2018-02-03 16:29           ` Noam Postavsky
2018-02-03 17:26             ` Alan Third
2018-02-03 19:10               ` Michael Albinus
2018-02-03 19:38                 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkSBrUum-RJsMuJZnVBP1jwBcTEv_FoVoWkZ_MbUZYe-og@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=30327@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).