changeset 24172:09598e5ced97 v8.2.2627

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 <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Mar 2021 13:00:03 +0100
parents 66480abe9e5a
children c3fe35ea9e83
files src/testdir/check.vim src/testdir/test_excmd.vim src/testdir/test_help.vim src/version.c
diffstat 4 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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()
--- 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')
--- 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')
--- 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,