diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-02-02 01:41:37 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-11 15:27:56 +0100 |
| commit | c9aafda6ac5867ca264237e1d70a65c6fc47a788 (patch) | |
| tree | 7e54bafc4d7ffbe100dd63e3d8f3c56fe5572312 /src | |
| parent | 4c83567da3f5dd62845b50b0fbd86dd580ee7aa3 (diff) | |
| download | rneovim-c9aafda6ac5867ca264237e1d70a65c6fc47a788.tar.gz rneovim-c9aafda6ac5867ca264237e1d70a65c6fc47a788.tar.bz2 rneovim-c9aafda6ac5867ca264237e1d70a65c6fc47a788.zip | |
vim-patch:8.0.0600: test_recover fails on some systems
Problem: test_recover fails on some systems.
Solution: Explicitly check if "/" is writable. (Ken Takata)
https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9
Diffstat (limited to 'src')
| -rw-r--r-- | src/nvim/testdir/test_recover.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim index 33cd54bc5c..2e34985fed 100644 --- a/src/nvim/testdir/test_recover.vim +++ b/src/nvim/testdir/test_recover.vim @@ -7,7 +7,7 @@ func Test_recover_root_dir() call assert_fails('recover', 'E305:') close! - if has('win32') + if has('win32') || filewritable('/') == 2 " can write in / directory on MS-Windows set dir=/notexist/ endif |
