Patch 8.2.2627

4 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 20, 2021, 7:49:54 AM3/20/21
to vim...@googlegroups.com

Patch 8.2.2627
Problem: No need to check for BSD after checking for not root.
Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
src/testdir/check.vim


*** ../vim-8.2.2626/src/testdir/test_excmd.vim 2021-03-19 14:38:07.869248401 +0100
--- src/testdir/test_excmd.vim 2021-03-20 12:47:23.510571138 +0100
***************
*** 364,370 ****

func Test_redir_cmd_readonly()
CheckNotRoot
- CheckNotBSD

" Redirecting to a read-only file
call writefile([], 'Xfile')
--- 364,369 ----
*** ../vim-8.2.2626/src/testdir/test_help.vim 2021-03-19 14:38:07.869248401 +0100
--- src/testdir/test_help.vim 2021-03-20 12:48:05.546436171 +0100
***************
*** 100,107 ****
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')
--- 100,105 ----
*** ../vim-8.2.2626/src/testdir/check.vim 2021-03-17 12:27:20.095476909 +0100
--- src/testdir/check.vim 2021-03-20 12:48:33.690345886 +0100
***************
*** 92,106 ****
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()
--- 92,97 ----
*** ../vim-8.2.2626/src/version.c 2021-03-20 12:36:43.104626123 +0100
--- src/version.c 2021-03-20 12:47:07.606622163 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2627,
/**/

--
A)bort, R)etry, D)o it right this time

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages