diff options
| author | Ken Brown | 2017-09-18 17:22:52 -0400 |
|---|---|---|
| committer | Ken Brown | 2017-09-18 17:22:52 -0400 |
| commit | 3f006b56cdd9dff313ea88fcedad122968fe1e6b (patch) | |
| tree | 71207210157c32055ea09168803932bef0510f15 /test/src | |
| parent | ee512e9a825a6dbdf438a432b75b7e18d9a983c7 (diff) | |
| download | emacs-3f006b56cdd9dff313ea88fcedad122968fe1e6b.tar.gz emacs-3f006b56cdd9dff313ea88fcedad122968fe1e6b.zip | |
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/src')
| -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 @@ | |||
| 35 | (char 0)) | 35 | (char 0)) |
| 36 | (while (and (not failure) (< char 127)) | 36 | (while (and (not failure) (< char 127)) |
| 37 | (setq char (1+ char)) | 37 | (setq char (1+ char)) |
| 38 | (when (and (eq system-type 'cygwin) (eq char 92)) | ||
| 39 | (setq char (1+ char))) | ||
| 38 | (setq failure (try-link (string char) link))) | 40 | (setq failure (try-link (string char) link))) |
| 39 | (or failure | 41 | (or failure |
| 40 | (try-link "/:" link))) | 42 | (try-link "/:" link))) |