To: vim_dev@googlegroups.com Subject: Patch 8.2.3008 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3008 (after 8.2.3006) Problem: Startup test may hang. Solution: Add quit command in the script. Files: src/testdir/test_startup.vim *** ../vim-8.2.3007/src/testdir/test_startup.vim 2021-06-15 22:39:07.570028096 +0200 --- src/testdir/test_startup.vim 2021-06-15 23:04:23.566450415 +0200 *************** *** 1305,1313 **** let lines =<< trim END echo v:true call writefile(['done'], 'Xresult') END call writefile(lines, 'Xscript') ! if RunVim([], [], '--cmd "source Xscript" --c q') call assert_equal(['done'], readfile('Xresult')) endif call delete('Xscript') --- 1305,1314 ---- let lines =<< trim END echo v:true call writefile(['done'], 'Xresult') + quit END call writefile(lines, 'Xscript') ! if RunVim([], [], '--cmd "source Xscript"') call assert_equal(['done'], readfile('Xresult')) endif call delete('Xscript') *** ../vim-8.2.3007/src/version.c 2021-06-15 22:54:25.179839176 +0200 --- src/version.c 2021-06-15 23:05:32.582282376 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 3008, /**/ -- For humans, honesty is a matter of degree. Engineers are always honest in matters of technology and human relationships. That's why it's a good idea to keep engineers away from customers, romantic interests, and other people who can't handle the truth. (Scott Adams - The Dilbert principle) /// 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 ///