Patch 8.2.4444
Problem: Beep caused by test. ASAN reports leaks.
Solution: Do not put a NL at the end of the script. Make the text work on
MS-Windows. Do not run the test with ASAN.
Files: src/testdir/test_exit.vim
*** ../vim-8.2.4443/src/testdir/test_exit.vim 2022-02-22 15:24:47.894090799 +0000
--- src/testdir/test_exit.vim 2022-02-22 17:41:25.438257559 +0000
***************
*** 112,122 ****
func Test_exit_error_reading_input()
CheckNotGui
! CheckNotMSWindows
! call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew\<CR>q:"], 'Xscript')
! if RunVim([], [], '< Xscript')
call assert_equal(['l = 1'], readfile('Xtestout'))
endif
call delete('Xscript')
--- 112,123 ----
func Test_exit_error_reading_input()
CheckNotGui
! " The early exit causes memory not to be freed somehow
! CheckNotAsan
! call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew", "q:"], 'Xscript', 'b')
! if RunVim([], [], '<Xscript')
call assert_equal(['l = 1'], readfile('Xtestout'))
endif
call delete('Xscript')
*** ../vim-8.2.4443/src/version.c 2022-02-22 16:19:23.872588677 +0000
--- src/version.c 2022-02-22 17:42:25.834205714 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4444,
/**/
--
From "know your smileys":
<<<:-{ Worf (Never smiles anyways, so he's a bad smiley)
/// 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 ///