To: vim_dev@googlegroups.com Subject: Patch 8.2.4802 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4802 Problem: Test is not cleaned up. Solution: Make test clean up after itself. Avoid NUL. (closes #10233) Files: src/testdir/test_autocmd.vim *** ../vim-8.2.4801/src/testdir/test_autocmd.vim 2022-04-19 16:24:08.603559710 +0100 --- src/testdir/test_autocmd.vim 2022-04-21 10:54:55.778120790 +0100 *************** *** 3004,3009 **** --- 3004,3011 ---- augroup aucmd_win_test au! augroup END + new + pclose endfunc " Fuzzer found some strange combination that caused a crash. *************** *** 3037,3048 **** endfunc func Test_autocmd_vimgrep() - %bwipe! augroup aucmd_vimgrep au QuickfixCmdPre,BufNew,BufReadCmd * sb ! au QuickfixCmdPre,BufNew,BufReadCmd * q9 augroup END - %bwipe! call assert_fails('lv ?a? foo', 'E926:') augroup aucmd_vimgrep --- 3039,3048 ---- endfunc func Test_autocmd_vimgrep() augroup aucmd_vimgrep au QuickfixCmdPre,BufNew,BufReadCmd * sb ! au QuickfixCmdPre,BufNew,BufReadCmd * q9 augroup END call assert_fails('lv ?a? foo', 'E926:') augroup aucmd_vimgrep *** ../vim-8.2.4801/src/version.c 2022-04-20 22:07:25.114829348 +0100 --- src/version.c 2022-04-21 11:07:43.530450934 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4802, /**/ -- What a wonderfully exciting cough! Do you mind if I join you? -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@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 ///