GNU bug report logs - #29277
Symlink test failure on macOS

Previous Next

Package: emacs;

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

Date: Sun, 12 Nov 2017 22:50:01 UTC

Severity: minor

Tags: fixed

Merged with 29712

Found in version 26.0.90

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29277 in the body.
You can then email your comments to 29277 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#29277; Package emacs. (Sun, 12 Nov 2017 22:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Third <alan <at> idiocy.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 12 Nov 2017 22:50:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Symlink test failure on macOS
Date: Sun, 12 Nov 2017 22:48:49 +0000
I just noticed a new test failure on macOS. I’m not sure when it
started as I haven’t run make test in quite a while.

F fileio-tests--odd-symlink-chars
    Check that any non-NULL ASCII character can appear in a symlink.
    (ert-test-failed
     ((should
       (equal nil
	      (fileio-tests--symlink-failure)))
      :form
      (equal nil
	     (string-equal "
" "
"))
      :value nil :explanation
      (different-types nil
		       (string-equal "
" "
"))))


The ‘different‐types’ bit above has ^M in the first position and ^J in
the second (at least according to describe‐char).

My completely unscientific thought is that something is converting ^M
in filenames to ^J and it looks suspiciously like an old‐school
mac‐>unix line ending conversion.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29277; Package emacs. (Wed, 15 Nov 2017 00:05:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: 29277 <at> debbugs.gnu.org
Subject: Re: bug#29277: Symlink test failure on macOS
Date: Wed, 15 Nov 2017 00:04:28 +0000
On Sun, Nov 12, 2017 at 10:48:49PM +0000, Alan Third wrote:
> I just noticed a new test failure on macOS. I’m not sure when it
> started as I haven’t run make test in quite a while.

It appears that fileio-tests.el was added recently, so this is
probably a long‐standing issue.

83f0d60e498c9cab59e098af6d9c403631ad645c
Author:     Paul Eggert <eggert <at> cs.ucla.edu>
AuthorDate: Sat Aug 19 17:15:52 2017 -0700
Commit:     Paul Eggert <eggert <at> cs.ucla.edu>
CommitDate: Sat Aug 19 17:17:09 2017 -0700

Parent:     1c382c096b Make list-processes support display-line-numbers
Merged:     concurrency emacs-25 visible-bell
Containing: emacs-26 master nsimage scrolling
Follows:    emacs-25.1 (129792)

Don’t adjust CRLF in file names

* doc/misc/gnus.texi (Non-ASCII Group Names):
* etc/NEWS:
* test/lisp/net/tramp-tests.el (tramp--test-utf8):
Use utf-8-unix, not utf-8, for default-file-name-coding-system, so
that CRLF in file names is left alone.
* lisp/international/mule-cmds.el (set-default-coding-systems):
Do not alter CRLF in file name coding systems.
(prefer-coding-system): Ignore differences in CRLF processing when
checking whether we used the user-specified file name coding system.
* test/src/fileio-tests.el: New file.

-- 
Alan Third




Severity set to 'minor' from 'normal' Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 14 Dec 2017 20:54:01 GMT) Full text and rfc822 format available.

Merged 29277 29712. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 14 Dec 2017 20:55:01 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 07 Jan 2018 20:50:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.1, send any further explanations to 29277 <at> debbugs.gnu.org and Alan Third <alan <at> idiocy.org> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 07 Jan 2018 20:50:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Mar 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 56 days ago.

Previous Next


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