mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
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)
This commit is contained in:
parent
79a213d6a4
commit
2a0b06def4
@ -7,7 +7,7 @@ func Test_recover_root_dir()
|
|||||||
call assert_fails('recover', 'E305:')
|
call assert_fails('recover', 'E305:')
|
||||||
close!
|
close!
|
||||||
|
|
||||||
if has('win32')
|
if has('win32') || filewritable('/') == 2
|
||||||
" can write in / directory on MS-Windows
|
" can write in / directory on MS-Windows
|
||||||
set dir=/notexist/
|
set dir=/notexist/
|
||||||
endif
|
endif
|
||||||
|
@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
600,
|
||||||
/**/
|
/**/
|
||||||
599,
|
599,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user