diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-22 17:42:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-22 17:42:48 +0000 |
commit | 68eab67119734ea1efc7cef1287276d969f2713a (patch) | |
tree | 8724ac095e54d4a3727ce60295c67b2a1bee835a /src | |
parent | 2457b2bbc28cce6e8c1106d427b8e867d4f58cfa (diff) |
patch 8.2.4444: beep caused by testv8.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.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_exit.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/testdir/test_exit.vim b/src/testdir/test_exit.vim index 68659fb1f4..a5cabf8131 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\<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 05e5229180..646f1edaaa 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4444, +/**/ 4443, /**/ 4442, |