mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.2079
Problem: Netbeans test fails on non-Unix systems. Solution: Only do the permission check on Unix systems.
This commit is contained in:
@@ -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')
|
||||
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"))
|
||||
|
@@ -758,6 +758,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2079,
|
||||
/**/
|
||||
2078,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user