Skip to content

Commit 53bdec2

Browse files
committed
patch 7.4.2079
Problem: Netbeans test fails on non-Unix systems. Solution: Only do the permission check on Unix systems.
1 parent ca8942c commit 53bdec2

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/testdir/test_netbeans.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ endfunc
5353
func Nb_file_auth(port)
5454
call assert_fails('nbstart =notexist', 'E660:')
5555
call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
56-
call setfperm('Xnbauth', "rw-r--r--")
57-
call assert_fails('nbstart =Xnbauth', 'E668:')
56+
if has('unix')
57+
call setfperm('Xnbauth', "rw-r--r--")
58+
call assert_fails('nbstart =Xnbauth', 'E668:')
59+
endif
5860
call setfperm('Xnbauth', "rw-------")
5961
exe 'nbstart :localhost:' . a:port . ':bunny'
6062
call assert_true(has("netbeans_enabled"))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ static char *(features[]) =
758758

759759
static int included_patches[] =
760760
{ /* Add new patch number below this line */
761+
/**/
762+
2079,
761763
/**/
762764
2078,
763765
/**/

0 commit comments

Comments
 (0)