diff --git a/src/testdir/test_exit.vim b/src/testdir/test_exit.vim index 68659fb1f..a5cabf813 100644 --- a/src/testdir/test_exit.vim +++ b/src/testdir/test_exit.vim @@ -112,11 +112,12 @@ endfunc 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\q:"], 'Xscript') + call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew", "q:"], 'Xscript', 'b') - if RunVim([], [], '< Xscript') + if RunVim([], [], '