]> granicus.if.org Git - vim/commitdiff
patch 8.1.2355: test with "man" fails on FreeBSD v8.1.2355
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Nov 2019 20:16:06 +0000 (21:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Nov 2019 20:16:06 +0000 (21:16 +0100)
Problem:    Test with "man" fails on FreeBSD.
Solution:   Use "-P" instead of "--pager".

src/testdir/test_normal.vim
src/version.c

index c4b38b1c6cc195ed6fac4349217dd7a3219ef5ac..bbb999386663de54e0491e033cfee2dd2109369f 100644 (file)
@@ -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
index b3b48d4867aeaf9a3eac0647806999dc2065ac8b..4ca5c0f76c20adb2005d639f909e0851b002537d 100644 (file)
@@ -737,6 +737,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2355,
 /**/
     2354,
 /**/