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:
parent
ee512e9a82
commit
3f006b56cd
1 changed files with 2 additions and 0 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue