mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 13:56:05 +00:00
vim-patch:8.2.2627: no need to check for BSD after checking for not root
Problem: No need to check for BSD after checking for not root.
Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes vim/vim#7989)
4355894869
This commit is contained in:
@@ -90,15 +90,6 @@ func CheckUnix()
|
|||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Command to check for not running on a BSD system.
|
|
||||||
" TODO: using this checks should not be needed
|
|
||||||
command CheckNotBSD call CheckNotBSD()
|
|
||||||
func CheckNotBSD()
|
|
||||||
if has('bsd')
|
|
||||||
throw 'Skipped: does not work on BSD'
|
|
||||||
endif
|
|
||||||
endfunc
|
|
||||||
|
|
||||||
" Command to check that making screendumps is supported.
|
" Command to check that making screendumps is supported.
|
||||||
" Caller must source screendump.vim
|
" Caller must source screendump.vim
|
||||||
command CheckScreendump call CheckScreendump()
|
command CheckScreendump call CheckScreendump()
|
||||||
|
@@ -507,7 +507,6 @@ endfunc
|
|||||||
|
|
||||||
func Test_redir_cmd_readonly()
|
func Test_redir_cmd_readonly()
|
||||||
CheckNotRoot
|
CheckNotRoot
|
||||||
CheckNotBSD
|
|
||||||
|
|
||||||
" Redirecting to a read-only file
|
" Redirecting to a read-only file
|
||||||
call writefile([], 'Xfile')
|
call writefile([], 'Xfile')
|
||||||
|
@@ -124,8 +124,6 @@ endfunc
|
|||||||
func Test_helptag_cmd_readonly()
|
func Test_helptag_cmd_readonly()
|
||||||
CheckUnix
|
CheckUnix
|
||||||
CheckNotRoot
|
CheckNotRoot
|
||||||
" The following tests fail on FreeBSD for some reason
|
|
||||||
CheckNotBSD
|
|
||||||
|
|
||||||
" Read-only tags file
|
" Read-only tags file
|
||||||
call mkdir('Xdir/doc', 'p')
|
call mkdir('Xdir/doc', 'p')
|
||||||
|
Reference in New Issue
Block a user