changeset 18730:2faf6c331cb8 v8.1.2355

patch 8.1.2355: test with "man" fails on FreeBSD Commit: https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Author: Bram Moolenaar <Bram@vim.org> 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".
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Nov 2019 21:30:04 +0100
parents a2e7ec180f8b
children e55bced76a31
files src/testdir/test_normal.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,