Patch 9.0.0541
Problem: Terminal pwd test fails with a very long path name.
Solution: Join two lines.
Files: src/testdir/test_terminal.vim
*** ../vim-9.0.0540/src/testdir/test_terminal.vim 2022-09-17 21:07:52.107993141 +0100
--- src/testdir/test_terminal.vim 2022-09-22 12:54:28.925216682 +0100
***************
*** 630,636 ****
endif
call mkdir('Xtermdir')
let buf = term_start(cmd, {'cwd': 'Xtermdir'})
! call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1), ":t"))})
exe buf . 'bwipe'
call delete('Xtermdir', 'rf')
--- 630,638 ----
endif
call mkdir('Xtermdir')
let buf = term_start(cmd, {'cwd': 'Xtermdir'})
! " if the path is very long it may be split over two lines, join them
! " together
! call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1) .. getline(2), ":t"))})
exe buf . 'bwipe'
call delete('Xtermdir', 'rf')
*** ../vim-9.0.0540/src/version.c 2022-09-22 12:48:47.614418502 +0100
--- src/version.c 2022-09-22 12:55:50.064959894 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 541,
/**/
--
hundred-and-one symptoms of being an internet addict:
130. You can't get out of your desk even if it's time to eat or time
to go to the bathroom.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///