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)
|
func Nb_file_auth(port)
|
||||||
call assert_fails('nbstart =notexist', 'E660:')
|
call assert_fails('nbstart =notexist', 'E660:')
|
||||||
call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
|
call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
|
||||||
call setfperm('Xnbauth', "rw-r--r--")
|
if has('unix')
|
||||||
call assert_fails('nbstart =Xnbauth', 'E668:')
|
call setfperm('Xnbauth', "rw-r--r--")
|
||||||
|
call assert_fails('nbstart =Xnbauth', 'E668:')
|
||||||
|
endif
|
||||||
call setfperm('Xnbauth', "rw-------")
|
call setfperm('Xnbauth', "rw-------")
|
||||||
exe 'nbstart :localhost:' . a:port . ':bunny'
|
exe 'nbstart :localhost:' . a:port . ':bunny'
|
||||||
call assert_true(has("netbeans_enabled"))
|
call assert_true(has("netbeans_enabled"))
|
||||||
|
@@ -758,6 +758,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2079,
|
||||||
/**/
|
/**/
|
||||||
2078,
|
2078,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user