diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 22:38:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 22:38:39 +0800 |
| commit | 9736605672e8648bbe8739a6fdd1c315183bce40 (patch) | |
| tree | 5bffb0d9bd5ba2e0c1d487065ded571bb066bd6d /src/nvim/testdir/check.vim | |
| parent | 0a4c5cd2b2b7d98dc0930c474a347dee9f09bfad (diff) | |
| parent | a77be32cf90a8ef78eae3e243f4619d8bb739df5 (diff) | |
| download | rneovim-9736605672e8648bbe8739a6fdd1c315183bce40.tar.gz rneovim-9736605672e8648bbe8739a6fdd1c315183bce40.tar.bz2 rneovim-9736605672e8648bbe8739a6fdd1c315183bce40.zip | |
Merge pull request #21089 from zeertzjq/vim-8.2.2586
vim-patch:8.2.{2586,2587,2589}: process id may be invalid
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() |