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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/20220222184417.E9BCD1C14C0%40moolenaar.net.