0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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 #7989)
This commit is contained in:
Bram Moolenaar 2021-03-20 12:49:15 +01:00
parent 240014321b
commit 4355894869
4 changed files with 2 additions and 12 deletions

View File

@ -92,15 +92,6 @@ func CheckLinux()
endif
endfunc
" Command to check for not running on a BSD system.
" TODO: using this check 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.
" Caller must source screendump.vim
command CheckScreendump call CheckScreendump()

View File

@ -364,7 +364,6 @@ endfunc
func Test_redir_cmd_readonly()
CheckNotRoot
CheckNotBSD
" Redirecting to a read-only file
call writefile([], 'Xfile')

View File

@ -100,8 +100,6 @@ endfunc
func Test_helptag_cmd_readonly()
CheckUnix
CheckNotRoot
" The following tests fail on FreeBSD for some reason
CheckNotBSD
" Read-only tags file
call mkdir('Xdir/doc', 'p')

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2627,
/**/
2626,
/**/