From: Bram Moolenaar Date: Thu, 18 May 2017 14:23:43 +0000 (+0200) Subject: patch 8.0.0600: test_recover fails on some systems X-Git-Tag: v8.0.0600 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a0b06def49198aef45ef173f524a638a700f9c9;p=thirdparty%2Fvim.git 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 index 33cd54bc5c..2e34985fed 100644 --- 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 index a572ae30bb..7262a3d415 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 600, /**/ 599, /**/