changeset 9603:20e7be5d99ac v7.4.2079

commit https://github.com/vim/vim/commit/53bdec2ac9b994eee9c60f2ab9ad8a8afb2b9594 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 20 00:03:18 2016 +0200 patch 7.4.2079 Problem: Netbeans test fails on non-Unix systems. Solution: Only do the permission check on Unix systems.
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jul 2016 00:15:05 +0200
parents 652b81970bde
children a16f2505a6b3
files src/testdir/test_netbeans.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -53,8 +53,10 @@ endfunc
 func Nb_file_auth(port)
   call assert_fails('nbstart =notexist', 'E660:')
   call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
-  call setfperm('Xnbauth', "rw-r--r--")
-  call assert_fails('nbstart =Xnbauth', 'E668:')
+  if has('unix')
+    call setfperm('Xnbauth', "rw-r--r--")
+    call assert_fails('nbstart =Xnbauth', 'E668:')
+  endif
   call setfperm('Xnbauth', "rw-------")
   exe 'nbstart :localhost:' . a:port . ':bunny'
   call assert_true(has("netbeans_enabled"))
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2079,
+/**/
     2078,
 /**/
     2077,