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.

Full log


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




This bug report was last modified 7 years and 107 days ago.

Previous Next


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