diff options
author | Ken Brown <kbrown@cornell.edu> | 2017-09-18 17:22:52 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2017-09-18 17:22:52 -0400 |
commit | 3f006b56cdd9dff313ea88fcedad122968fe1e6b (patch) | |
tree | 71207210157c32055ea09168803932bef0510f15 /test | |
parent | ee512e9a825a6dbdf438a432b75b7e18d9a983c7 (diff) | |
download | emacs-3f006b56cdd9dff313ea88fcedad122968fe1e6b.tar.gz |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/src/fileio-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index a56fb4474d6..01c280d2752 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el @@ -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))) |