diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-06 22:28:39 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-06 23:08:40 +0800 |
commit | bfa0be49ed07d1e576c6452bb7e82956df7b19d5 (patch) | |
tree | c44e6b818a5d2372e0ece3bd2cb2c446e82b3652 | |
parent | fbe2761b20afaf25a02c06decaf543d211e997f0 (diff) | |
download | rneovim-bfa0be49ed07d1e576c6452bb7e82956df7b19d5.tar.gz rneovim-bfa0be49ed07d1e576c6452bb7e82956df7b19d5.tar.bz2 rneovim-bfa0be49ed07d1e576c6452bb7e82956df7b19d5.zip |
vim-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 vim/vim#7989)
https://github.com/vim/vim/commit/4355894869355c185e7810e67d52802453576e81
-rw-r--r-- | src/nvim/testdir/check.vim | 9 | ||||
-rw-r--r-- | src/nvim/testdir/test_excmd.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_help.vim | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim index 1459b70243..8a1080a2f3 100644 --- a/src/nvim/testdir/check.vim +++ b/src/nvim/testdir/check.vim @@ -90,15 +90,6 @@ func CheckUnix() endif endfunc -" Command to check for not running on a BSD system. -" TODO: using this checks 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/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim index 0e8af08b4b..42b1f8ca48 100644 --- a/src/nvim/testdir/test_excmd.vim +++ b/src/nvim/testdir/test_excmd.vim @@ -507,7 +507,6 @@ endfunc func Test_redir_cmd_readonly() CheckNotRoot - CheckNotBSD " Redirecting to a read-only file call writefile([], 'Xfile') diff --git a/src/nvim/testdir/test_help.vim b/src/nvim/testdir/test_help.vim index 787f673991..6478ae5dbf 100644 --- a/src/nvim/testdir/test_help.vim +++ b/src/nvim/testdir/test_help.vim @@ -124,8 +124,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') |