Patch 8.2.2240
Problem:    Clientserver test fails if full path is used.
Solution:   Ignore the path preceding the file name.
Files:      src/testdir/test_clientserver.vim


*** ../vim-8.2.2239/src/testdir/test_clientserver.vim   2020-12-27 
19:00:20.706479331 +0100
--- src/testdir/test_clientserver.vim   2020-12-28 21:14:00.221176090 +0100
***************
*** 134,152 ****
  
      " Edit multiple files using --remote
      call system(cmd .. ' --remote Xfile1 Xfile2 Xfile3')
!     call assert_equal("Xfile1\nXfile2\nXfile3\n", remote_expr(name, 'argv()'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit files in separate tab pages
      call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
      call WaitForAssert({-> assert_equal('3', remote_expr(name, 
'tabpagenr("$")'))})
!     call assert_equal('Xfile2', remote_expr(name, 
'bufname(tabpagebuflist(2)[0])'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit a file using --remote-wait
      eval name->remote_send(":source $VIMRUNTIME/plugin/rrhelper.vim\<CR>")
      call system(cmd .. ' --remote-wait +enew Xfile1')
!     call assert_equal("Xfile1", remote_expr(name, 'bufname("#")'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit files using --remote-tab-wait
--- 134,152 ----
  
      " Edit multiple files using --remote
      call system(cmd .. ' --remote Xfile1 Xfile2 Xfile3')
!     call assert_match(".*Xfile1\n.*Xfile2\n.*Xfile3\n", remote_expr(name, 
'argv()'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit files in separate tab pages
      call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
      call WaitForAssert({-> assert_equal('3', remote_expr(name, 
'tabpagenr("$")'))})
!     call assert_match('.*\<Xfile2', remote_expr(name, 
'bufname(tabpagebuflist(2)[0])'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit a file using --remote-wait
      eval name->remote_send(":source $VIMRUNTIME/plugin/rrhelper.vim\<CR>")
      call system(cmd .. ' --remote-wait +enew Xfile1')
!     call assert_match('.*\<Xfile1', remote_expr(name, 'bufname("#")'))
      eval name->remote_send(":%bw!\<CR>")
  
      " Edit files using --remote-tab-wait
*** ../vim-8.2.2239/src/version.c       2020-12-28 20:53:17.499051882 +0100
--- src/version.c       2020-12-28 21:14:57.916938888 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2240,
  /**/

-- 
On the other hand, you have different fingers.
                                      -- Steven Wright

 /// 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/202012282016.0BSKG7mH423085%40masaka.moolenaar.net.

Raspunde prin e-mail lui