diff src/testdir/test_normal.vim @ 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 709c6b0dc78f
children 97d534e17874
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