# HG changeset patch # User Bram Moolenaar # Date 1616241603 -3600 # Node ID 09598e5ced9752c1d2ada0a33a4947286f161863 # Parent 66480abe9e5a73f0d62989dc860c9afaecede086 patch 8.2.2627: no need to check for BSD after checking for not root Commit: https://github.com/vim/vim/commit/4355894869355c185e7810e67d52802453576e81 Author: Bram Moolenaar Date: Sat Mar 20 12:49:15 2021 +0100 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 https://github.com/vim/vim/issues/7989) diff --git a/src/testdir/check.vim b/src/testdir/check.vim --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -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() diff --git a/src/testdir/test_excmd.vim b/src/testdir/test_excmd.vim --- a/src/testdir/test_excmd.vim +++ b/src/testdir/test_excmd.vim @@ -364,7 +364,6 @@ endfunc func Test_redir_cmd_readonly() CheckNotRoot - CheckNotBSD " Redirecting to a read-only file call writefile([], 'Xfile') diff --git a/src/testdir/test_help.vim b/src/testdir/test_help.vim --- a/src/testdir/test_help.vim +++ b/src/testdir/test_help.vim @@ -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') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2627, +/**/ 2626, /**/ 2625,