# HG changeset patch # User Bram Moolenaar # Date 1574973004 -3600 # Node ID 2faf6c331cb85eae22966c900f70abd49cc4d37d # Parent a2e7ec180f8bf92d22f3ed2bbe037dfe56313722 patch 8.1.2355: test with "man" fails on FreeBSD Commit: https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Author: Bram Moolenaar Date: Thu Nov 28 21:16:06 2019 +0100 patch 8.1.2355: test with "man" fails on FreeBSD Problem: Test with "man" fails on FreeBSD. Solution: Use "-P" instead of "--pager". diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim --- 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2355, +/**/ 2354, /**/ 2353,