changeset 11291:783ec3826b0c v8.0.0531

patch 8.0.0531: test with long directory name fails on non-unix systems commit https://github.com/vim/vim/commit/9b81079ddd839a666682f6bdbc24890bf4d1a42c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 31 23:32:53 2017 +0200 patch 8.0.0531: test with long directory name fails on non-unix systems Problem: Test with long directory name fails on non-unix systems. Solution: Skip the test on non-unix systems.
author Christian Brabandt <cb@256bit.org>
date Fri, 31 Mar 2017 23:45:05 +0200
parents e6881d996169
children 0deb1becf647
files src/testdir/test_edit.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_edit.vim
+++ b/src/testdir/test_edit.vim
@@ -1324,6 +1324,10 @@ func! Test_edit_rightleft()
 endfunc
 
 func Test_edit_complete_very_long_name()
+  if !has('unix')
+    " Long directory names only work on Unix.
+    return
+  endif
   let save_columns = &columns
   set columns=5000
   call assert_equal(5000, &columns)
--- 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 */
 /**/
+    531,
+/**/
     530,
 /**/
     529,