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/test_normal.vim | |
parent | 68e9e5f7fccb8038cf0ca5b5d95c85a923152f46 (diff) | |
download | vim-git-9134f1ecd41207045db3cb47f0269497980395ad.tar.gz |
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/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index bbb999386..a28a82540 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -1204,7 +1204,8 @@ func Test_normal23_K() return endif - if has('mac') || has('bsd') + let not_gnu_man = has('mac') || has('bsd') + if not_gnu_man " In MacOS and BSD, the option for specifying a pager is different set keywordprg=man\ -P\ cat else @@ -1213,7 +1214,7 @@ func Test_normal23_K() " Test for using man 2 let a = execute('unsilent norm! K') - if has('mac') + if not_gnu_man call assert_match("man -P cat 'man'", a) else call assert_match("man --pager=cat 'man'", a) |