Adapt fileio-tests--symlink-failure to Cygwin
* test/src/fileio-tests.el (fileio-tests--symlink-failure) [CYGWIN]: Skip the case of a symlink target starting with '\'; this is treated specially on Cygwin.
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
(char 0))
|
||||
(while (and (not failure) (< char 127))
|
||||
(setq char (1+ char))
|
||||
(when (and (eq system-type 'cygwin) (eq char 92))
|
||||
(setq char (1+ char)))
|
||||
(setq failure (try-link (string char) link)))
|
||||
(or failure
|
||||
(try-link "/:" link)))
|
||||
|
||||
Reference in New Issue
Block a user