Permalink
Browse files

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)
  • Loading branch information...
brammool committed May 18, 2017
1 parent 79a213d commit 2a0b06def49198aef45ef173f524a638a700f9c9
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/test_recover.vim
  2. +2 −0 src/version.c
@@ -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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
600,
/**/
599,
/**/

0 comments on commit 2a0b06d

Please sign in to comment.