diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-29 20:26:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-29 20:26:13 +0100 |
commit | 9134f1ecd41207045db3cb47f0269497980395ad (patch) | |
tree | 8e9d1a099c603683cd365b0d70cc65f3b3a4247b /src/testdir/check.vim | |
parent | 68e9e5f7fccb8038cf0ca5b5d95c85a923152f46 (diff) |
patch 8.1.2358: tests fail on Cirrus CI for FreeBSDv8.1.2358
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closes #5281)
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index 6c3b1be4ff..30c415821f 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -64,6 +64,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() |