diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-28 21:16:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-28 21:16:06 +0100 |
commit | c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 (patch) | |
tree | 0af2e4cceb9e0764dfec04ebf174d6792affb444 /src/testdir/test_normal.vim | |
parent | 31ff2e1b43f5c85fdabfcfce93192405e6e559e2 (diff) | |
download | vim-git-c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175.tar.gz |
patch 8.1.2355: test with "man" fails on FreeBSDv8.1.2355
Problem: Test with "man" fails on FreeBSD.
Solution: Use "-P" instead of "--pager".
Diffstat (limited to 'src/testdir/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index c4b38b1c6..bbb999386 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -1204,8 +1204,8 @@ func Test_normal23_K() return endif - if has('mac') - " In MacOS, the option for specifying a pager is different + if has('mac') || has('bsd') + " In MacOS and BSD, the option for specifying a pager is different set keywordprg=man\ -P\ cat else set keywordprg=man\ --pager=cat |