Skip to content

Commit

Permalink
patch 8.0.0600: test_recover fails on some systems
Browse files Browse the repository at this point in the history
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 2a0b06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_recover.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
600,
/**/
599,
/**/
Expand Down

0 comments on commit 2a0b06d

Please sign in to comment.