aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-02 01:41:37 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-11 15:27:56 +0100
commitc9aafda6ac5867ca264237e1d70a65c6fc47a788 (patch)
tree7e54bafc4d7ffbe100dd63e3d8f3c56fe5572312
parent4c83567da3f5dd62845b50b0fbd86dd580ee7aa3 (diff)
downloadrneovim-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
-rw-r--r--src/nvim/testdir/test_recover.vim2
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