diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 20:18:20 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 20:34:37 +0800 |
| commit | 1ab08e23b3ba8fed10323ef5572c48413cfa7d96 (patch) | |
| tree | acd831c06eefba1837c554f8e1032d99e8640bce /src/nvim/testdir/check.vim | |
| parent | ec5c1c35c2b2477d79c20594a6fe64fe1d18ed36 (diff) | |
| download | rneovim-1ab08e23b3ba8fed10323ef5572c48413cfa7d96.tar.gz rneovim-1ab08e23b3ba8fed10323ef5572c48413cfa7d96.tar.bz2 rneovim-1ab08e23b3ba8fed10323ef5572c48413cfa7d96.zip | |
vim-patch:8.2.2587: recover test fails on FreeBSD
Problem: Recover test fails on FreeBSD.
Solution: Check for Linux.
https://github.com/vim/vim/commit/6635ae1437e6e343c0514524a8dfb19d9525b908
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir/check.vim')
| -rw-r--r-- | src/nvim/testdir/check.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim index 8a1080a2f3..61d3a99a67 100644 --- a/src/nvim/testdir/check.vim +++ b/src/nvim/testdir/check.vim @@ -90,6 +90,14 @@ func CheckUnix() endif endfunc +" Command to check for running on Linux +command CheckLinux call CheckLinux() +func CheckLinux() + if !has('linux') + throw 'Skipped: only works on Linux' + endif +endfunc + " Command to check that making screendumps is supported. " Caller must source screendump.vim command CheckScreendump call CheckScreendump() |