patch 8.2.4444: beep caused by test
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.
diff --git a/src/testdir/test_exit.vim b/src/testdir/test_exit.vim
index 68659fb..a5cabf8 100644
--- a/src/testdir/test_exit.vim
+++ b/src/testdir/test_exit.vim
@@ -112,11 +112,12 @@
func Test_exit_error_reading_input()
CheckNotGui
- CheckNotMSWindows
+ " The early exit causes memory not to be freed somehow
+ CheckNotAsan
- call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew\<CR>q:"], 'Xscript')
+ call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew", "q:"], 'Xscript', 'b')
- if RunVim([], [], '< Xscript')
+ if RunVim([], [], '<Xscript')
call assert_equal(['l = 1'], readfile('Xtestout'))
endif
call delete('Xscript')
diff --git a/src/version.c b/src/version.c
index 05e5229..646f1ed 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4444,
+/**/
4443,
/**/
4442,