]> granicus.if.org Git - vim/commitdiff
patch 8.2.2627: no need to check for BSD after checking for not root v8.2.2627
authorBram Moolenaar <Bram@vim.org>
Sat, 20 Mar 2021 11:49:15 +0000 (12:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 20 Mar 2021 11:49:15 +0000 (12:49 +0100)
Problem:    No need to check for BSD after checking for not root.
Solution:   Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)

src/testdir/check.vim
src/testdir/test_excmd.vim
src/testdir/test_help.vim
src/version.c

index 4fe130b7bfa83e85765eeac3c43ae632f2cf0205..6190399e5d6aba2fccf04a76632dc1211682c31c 100644 (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()
index cbeedfa8f25042b0bf9ce5610a3638c32ed874b0..8aace51cb416e0bd2a044e1713228897a339e360 100644 (file)
@@ -364,7 +364,6 @@ endfunc
 
 func Test_redir_cmd_readonly()
   CheckNotRoot
-  CheckNotBSD
 
   " Redirecting to a read-only file
   call writefile([], 'Xfile')
index b3e3c557fb23eecb24333f0167ad9212af5af892..ff2bc41b7a023444c801045b654bfdbaa191e093 100644 (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')
index bd72953aa620c5824e2878fcc094290a61eda247..7c4db55a6b21069df9e373e632687bb40a0675aa 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2627,
 /**/
     2626,
 /**/