To: vim_dev@googlegroups.com Subject: Patch 8.2.2927 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2927 Problem: Test commented out because it fails with ASAN. Solution: Only skip the test when running with ASAN. Files: src/testdir/test_startup.vim *** ../vim-8.2.2926/src/testdir/test_startup.vim 2021-05-29 22:25:13.539781642 +0200 --- src/testdir/test_startup.vim 2021-06-02 16:35:54.241278651 +0200 *************** *** 277,294 **** endfunc " Test that an error is shown when the defaults.vim file could not be read ! " TODO: disabled - this causes ASAN errors for unknown reasons ! "func Test_defaults_error() ! " " Can't catch the output of gvim. ! " CheckNotGui ! " CheckNotMSWindows ! " ! " let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq') ! " call assert_match("E1187: Failed to source defaults.vim", out) ! " ! " let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS -cq') ! " call assert_match("E1187: Failed to source defaults.vim", out) ! "endfunc " Test the '-q [errorfile]' argument. func Test_q_arg() --- 277,296 ---- endfunc " Test that an error is shown when the defaults.vim file could not be read ! func Test_defaults_error() ! " Can't catch the output of gvim. ! CheckNotGui ! CheckNotMSWindows ! " For unknown reasons freeing all memory does not work here, even though ! " EXITFREE is defined. ! CheckNotAsan ! ! let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq') ! call assert_match("E1187: Failed to source defaults.vim", out) ! ! let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS -cq') ! call assert_match("E1187: Failed to source defaults.vim", out) ! endfunc " Test the '-q [errorfile]' argument. func Test_q_arg() *** ../vim-8.2.2926/src/version.c 2021-06-02 16:47:49.675250216 +0200 --- src/version.c 2021-06-02 16:49:01.879063787 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2927, /**/ -- The Law, in its majestic equality, forbids the rich, as well as the poor, to sleep under the bridges, to beg in the streets, and to steal bread. -- Anatole France /// 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 ///