# HG changeset patch # User Christian Brabandt # Date 1495117803 -7200 # Node ID 0cafb01af1b64f89dad62b9ab30d58f76b268832 # Parent 1597b1207296fa4a1708a6f77427af1d7bee5ec5 patch 8.0.0600: test_recover fails on some systems commit https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9 Author: Bram Moolenaar Date: Thu May 18 16:23:43 2017 +0200 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) diff --git a/src/testdir/test_recover.vim b/src/testdir/test_recover.vim --- a/src/testdir/test_recover.vim +++ b/src/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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 600, +/**/ 599, /**/ 598,