aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/check.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-04 09:48:48 +0800
committerGitHub <noreply@github.com>2022-02-04 09:48:48 +0800
commit6bee2bf7903b84feffb14a42668626b3014f2132 (patch)
tree8a8041548bda612d384cbdf95cfb5f1feaa11166 /src/nvim/testdir/check.vim
parentb667bb355d882fa3a801972c11038112d146a39f (diff)
parent6775a7d98f580b2024fde962dbda984eb5d583fe (diff)
downloadrneovim-6bee2bf7903b84feffb14a42668626b3014f2132.tar.gz
rneovim-6bee2bf7903b84feffb14a42668626b3014f2132.tar.bz2
rneovim-6bee2bf7903b84feffb14a42668626b3014f2132.zip
Merge pull request #17272 from zeertzjq/vim-8.1.0846
vim-patch:8.1.{0846,0878,0884,2358},8.2.{0305,0352,0687,3797}
Diffstat (limited to 'src/nvim/testdir/check.vim')
-rw-r--r--src/nvim/testdir/check.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim
index ab26dddbe0..76c0f7d422 100644
--- a/src/nvim/testdir/check.vim
+++ b/src/nvim/testdir/check.vim
@@ -63,6 +63,15 @@ 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()