From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#30327: 27.0.50; Failures in files-tests.el on macOS Date: Fri, 02 Feb 2018 23:03:15 +0100 Message-ID: <87inbfxd5o.fsf@gmx.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1517608968 13614 195.159.176.226 (2 Feb 2018 22:02:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 22:02:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30327@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 02 23:02:43 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 1ehjPo-0002rW-Lb for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 23:02:36 +0100 Original-Received: from localhost ([::1]:36052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehjRp-0006BE-NB for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 17:04:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehjRS-00060l-0B for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 17:04:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehjRD-0008KV-W7 for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 17:04:17 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehjRD-0008J6-EJ for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 17:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehjRB-0008U2-KJ for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 17:04:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2018 22:04:01 +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.151760901532573 (code B ref 30327); Fri, 02 Feb 2018 22:04:01 +0000 Original-Received: (at 30327) by debbugs.gnu.org; 2 Feb 2018 22:03:35 +0000 Original-Received: from localhost ([127.0.0.1]:54655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehjQl-0008TJ-Lg for submit@debbugs.gnu.org; Fri, 02 Feb 2018 17:03:35 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:56937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehjQj-0008T6-Hj for 30327@debbugs.gnu.org; Fri, 02 Feb 2018 17:03:34 -0500 Original-Received: from detlef.gmx.de ([212.86.43.48]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MdoR7-1eN4Rt1dJl-00PasC; Fri, 02 Feb 2018 23:03:16 +0100 In-Reply-To: (Alan Third's message of "Fri, 02 Feb 2018 20:31:18 +0000") X-Provags-ID: V03:K0:TXdbrAHuXJ/J4wCbYCGNsaiwe83K0fhsiYFxohFK/gOwHnc+Q5W rctzAmFhJiArVIHAi1ak4OH6DzqAm5UW1IFtTs+VePNivpNjutdw8/mFlwHuLf/poufW6Mp DktikUpc69xVPAX/5Qhdhzu+7uoyIrS8aI0IuZZzEvkYEdmi7yvG9ZXZChAPqIt2WKhZCkz mQUJwC7Ig3Qi0vAJ6sTBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1E2wWfMkjbw=:kJ7kBM6R6g6VCU6+HFBzOt rESclRHSpHcsKtJM98OO24xDUPgSrE1zLsZ+9gzS3iYX5LR6Ob1B5+0INxfELYRZgM18CawPd Wa/ZD/n5z5Nl4L0wpvO+pmN7ZsXMBJICvje+RF9xJBUJEInKm8b9McUHdV02kaLaE21C6R02h DhlEIHGb3w267d70Y9msnTyVpx28lORy21vjcgup2lg7UlfAaePmKg1WFasaNjWShN0j+EkfK s4qbzf6DkK1pgrpva0virFwqsb2LNTHNhw6AWf/Af/3w8mf+BXv6e/5kZYiRx4SjxMX1caNtq pAD6d36wVbCHTz4JiOC0ZPBKaFItsfsIJCtiHo4+/I/Li9wgrP/0TUMulZrgzX1HlAXuLJbrd CT0fz3qZWE5luSbg6/BF9kTl68ltYpRscJxoK56LfGxfrLJUPr6PisePpWN6c3JQFmyQXQ1mQ io2SlKdHqCsP9Cn/lAf7Jtk7KQwmYwG/SULNw/WY7nIHJ7gFeQKAXD2LNEFuDxAKGP6EhUBds stm2Ah0lqAfUS+MGhaO+V0aatNMxyqxkp70kov0JhZIL/3ogQilGv8sneHS39pVJCfABPhOPy QcHUSYebjSJqQLoxZ+lE2H7KVGVnkC9gTFtBfLXbtZXiDKEol9DRxUEbqOflLENrsI10liw0F D/JIaVzc2zc9N+bdvPyBDfVKY4HsFNpG9q/A1Bsc3xA+7LQLU/ZDjSMp1ViNwDV7IlvGe7neq Lf9SuM11TGjuQUAU3kmw7mdR6puVGhMjzf2GxxFMBwtowtP443OTPbCGNug3ez4ihYH3F78J 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:142820 Archived-At: --=-=-= Content-Type: text/plain Alan Third writes: Hi Alan, > Today I ran make check and two new failures popped up. It looks like > they're from recent additions to files-tests.el. > > Log file attached. > > Test files-tests-file-name-non-special-file-truename condition: > (ert-test-failed > ((should > (equal nospecial > (file-truename nospecial))) > :form > (equal "/:/var/folders/rs/0j9q5wvj5qv1h4p08j_dnbvw0000gn/T/files-testskeK4ZJ" "/:/private/var/folders/rs/0j9q5wvj5qv1h4p08j_dnbvw0000gn/T/files-testskeK4ZJ") My crystal ball tells me, that your temporary-file-directory is located on a symlinked directory. Does the following patch cures it? --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 90e5ebf215..61e22a47af 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -353,7 +353,8 @@ files-tests--with-temp-file (declare (indent 1) (debug ((symbolp symbolp &optional form) body))) (cl-check-type name symbol) (cl-check-type non-special-name symbol) - `(let* ((,name (make-temp-file "files-tests" ,dir-flag)) + `(let* ((temporary-file-directory (file-truename temporary-file-directory)) + (,name (make-temp-file "files-tests" ,dir-flag)) (,non-special-name (file-name-quote ,name))) (unwind-protect (progn ,@body) --=-=-= Content-Type: text/plain Best regards, Michael. --=-=-=--