From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#30327: 27.0.50; Failures in files-tests.el on macOS Date: Fri, 02 Feb 2018 23:57:10 +0000 Message-ID: References: <87inbfxd5o.fsf@gmx.de> <20180202230441.GA9047@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f4f5e8079c9418b426056443794f" X-Trace: blaine.gmane.org 1517615778 19236 195.159.176.226 (2 Feb 2018 23:56:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 23:56:18 +0000 (UTC) Cc: Michael Albinus , 30327@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 03 00:56:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehlBf-0004Q4-KF for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Feb 2018 00:56:07 +0100 Original-Received: from localhost ([::1]:43018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehlDg-0001II-J2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 18:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehlDZ-0001HS-PJ for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 18:58:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehlDW-0004j4-NB for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 18:58:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehlDW-0004ir-Hq for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 18:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehlDW-0006UO-7a for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 18:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2018 23:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30327 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30327-submit@debbugs.gnu.org id=B30327.151761584824905 (code B ref 30327); Fri, 02 Feb 2018 23:58:02 +0000 Original-Received: (at 30327) by debbugs.gnu.org; 2 Feb 2018 23:57:28 +0000 Original-Received: from localhost ([127.0.0.1]:54751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehlCy-0006Td-91 for submit@debbugs.gnu.org; Fri, 02 Feb 2018 18:57:28 -0500 Original-Received: from mail-lf0-f52.google.com ([209.85.215.52]:40072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehlCx-0006TR-1V for 30327@debbugs.gnu.org; Fri, 02 Feb 2018 18:57:27 -0500 Original-Received: by mail-lf0-f52.google.com with SMTP id h92so33871953lfi.7 for <30327@debbugs.gnu.org>; Fri, 02 Feb 2018 15:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0k7pz6srwABUC113eZZeHYX+WaUUPAXJgwZPYlfhHnc=; b=JmjQSIhag9sdPeTIZ/sDfhM09ZFU30morz9o6JhiHic5JYcZ9s0eck97KDH0kI8+Vb 60Fp2DBxG+8aZ5eOKkTe0Z8nhI6hYI9IG7olcTAwYJUUE32QxsbIcB4qU9zKhJ9jt8Pt tr6aovTsJRLZuEaNN+9mhleBNkv82oHhyfgJtByk7OPXDoaHmxTUq65Y6Gt7C3pv7p9i uq8OaXe4nqD0DQ1hZG80YznbYVHrVeNw1AAVXQ2P6eP/m6hz5aedEsbiWEWYSnlOKiaF Cut9ItcA+jMKzWUkgjdBnHybJ1Sd1NyoROsPnz3LGH064ro5aBBMeGlKM6Xaygmw8OCw fqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0k7pz6srwABUC113eZZeHYX+WaUUPAXJgwZPYlfhHnc=; b=lpAcwz3ejsU9npCR/FwnqZG4kQOQBASBOrgHLLfB1N32qD6Ie+YFgmIrHkGZaRejFS TpvUSXkY6wsjbhSHlJMTMarLFKvc5VT/+Qv5aAxrc7Ix8OU5THjaAcacDW0pYd01f0Tg AIWKO6BeTyLQPwtKppGex9BaKjWDDJElFq23P7geh7DhoY1Ou33FecXvWJ+hH8sA56zR vv2n8kLqDbBnJzEV4eAb21KT7FOCuffsr1N2yJRp5vwaC4tspDha0Y4eg8muexKFhV1j JEvh+SSCU3xCTUFsl2QcJdZUNV5AAUCxFdecnccNgTsyVnq5TQZzFlkXP9pyjk5YLL3e X3MQ== X-Gm-Message-State: APf1xPDDWJz8w53NLo+JaA9pNd3KQGTAkCRDrsUGCVcj3sNGw3t5+mMm R1XcpDLfRVPxDQ/RiaROba6CU4j4VT3CCJD36gU= X-Google-Smtp-Source: AH8x225QzZb+9ZPVMi6yL7h8moiGyDlQAQS/mqS1RYrn0NyAuHNnDniJl3pzJOx3CgnFsNkQQCkyN4lh2PV5c1Wojrw= X-Received: by 10.46.118.20 with SMTP id r20mr1861740ljc.11.1517615840798; Fri, 02 Feb 2018 15:57:20 -0800 (PST) In-Reply-To: <20180202230441.GA9047@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142828 Archived-At: --f4f5e8079c9418b426056443794f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alan Third 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=E2=80=99t 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). --f4f5e8079c9418b426056443794f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan T= hird <alan@idiocy.org> schrieb= am Sa., 3. Feb. 2018 um 00:05=C2=A0Uhr:
On Fri, Feb 02, 2018 at 11:03:15PM +0100, Michael Albinus wrote:
> My crystal ball tells me, that your temporary-file-directory is locate= d
> 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
=C2=A0 =C2=A0 (ert-test-failed
=C2=A0 =C2=A0 =C2=A0((should
=C2=A0 =C2=A0 =C2=A0 =C2=A0(equal
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (directory-files-and-attributes nospecial-dir)<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 (directory-files-and-attributes tmpdir)))
=C2=A0 =C2=A0 =C2=A0 :form
=C2=A0 =C2=A0 =C2=A0 (equal
=C2=A0 =C2=A0 =C2=A0 =C2=A0(("." t 2 501 20
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10790 323000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10688 536000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10688 536000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A064 "drwx------" ...)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (".." t 187 501 20
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60750 989630 970000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10697 474000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10697 474000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05984 "drwx------" ...))
=C2=A0 =C2=A0 =C2=A0 =C2=A0(("." t 2 501 20
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10850 531000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10688 536000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10688 536000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A064 "drwx------" ...)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (".." t 187 501 20
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60750 989630 970000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10697 474000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(23156 60751 10697 474000)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05984 "drwx------" ...)))
=C2=A0 =C2=A0 =C2=A0 :value nil :explanation
=C2=A0 =C2=A0 =C2=A0 (list-elt 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (list-elt 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (list-elt 2
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (different-atoms ... .= ..))))))

I don=E2=80=99t have the first clue what it means...

The differing element is the last access t= ime. This isn't surprising given that reading the directory accesses it= . Probably the test should simply ignore the fifth element (the access time= ).=C2=A0
--f4f5e8079c9418b426056443794f--