Skip to content

Commit 4355894

Browse files
committed
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)
1 parent 2400143 commit 4355894

4 files changed

Lines changed: 2 additions & 12 deletions

File tree

src/testdir/check.vim

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ func CheckLinux()
9292
endif
9393
endfunc
9494

95-
" Command to check for not running on a BSD system.
96-
" TODO: using this check should not be needed
97-
command CheckNotBSD call CheckNotBSD()
98-
func CheckNotBSD()
99-
if has('bsd')
100-
throw 'Skipped: does not work on BSD'
101-
endif
102-
endfunc
103-
10495
" Command to check that making screendumps is supported.
10596
" Caller must source screendump.vim
10697
command CheckScreendump call CheckScreendump()

src/testdir/test_excmd.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ endfunc
364364

365365
func Test_redir_cmd_readonly()
366366
CheckNotRoot
367-
CheckNotBSD
368367

369368
" Redirecting to a read-only file
370369
call writefile([], 'Xfile')

src/testdir/test_help.vim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ endfunc
100100
func Test_helptag_cmd_readonly()
101101
CheckUnix
102102
CheckNotRoot
103-
" The following tests fail on FreeBSD for some reason
104-
CheckNotBSD
105103

106104
" Read-only tags file
107105
call mkdir('Xdir/doc', 'p')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2627,
753755
/**/
754756
2626,
755757
/**/

0 commit comments

Comments
 (0)