Patch 8.1.1298
Problem:    Invalid argument test fails without X clipboard.
Solution:   Test -display only with the +xterm_clipboard feature.
Files:      src/testdir/test_startup.vim


*** ../vim-8.1.1297/src/testdir/test_startup.vim        2019-05-08 
17:58:11.921572919 +0200
--- src/testdir/test_startup.vim        2019-05-08 18:35:41.288901560 +0200
***************
*** 430,436 ****
      call assert_equal('More info with: "vim -h"',            out[2])
    endif
  
!   if has('clipboard')
      let out = split(system(GetVimCommand() .. ' -display'), "\n")
      call assert_equal(1, v:shell_error)
      call assert_match('^VIM - Vi IMproved .* (.*)$',         out[0])
--- 430,436 ----
      call assert_equal('More info with: "vim -h"',            out[2])
    endif
  
!   if has('xterm_clipboard')
      let out = split(system(GetVimCommand() .. ' -display'), "\n")
      call assert_equal(1, v:shell_error)
      call assert_match('^VIM - Vi IMproved .* (.*)$',         out[0])
*** ../vim-8.1.1297/src/version.c       2019-05-08 17:58:11.921572919 +0200
--- src/version.c       2019-05-08 18:36:20.824673524 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1298,
  /**/

-- 
"I know that there are people who don't love their fellow man,
and I hate those people!" - Tom Lehrer

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201905081637.x48GbU23004171%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui