Patch 8.2.5112 (after 8.2.5111)
Problem: Gui test hangs on MS-Windows.
Solution: Use "!start" to start Vim.
Files: src/testdir/test_gui.vim
*** ../vim-8.2.5111/src/testdir/test_gui.vim 2022-06-16 14:45:37.847772551 +0100
--- src/testdir/test_gui.vim 2022-06-16 16:34:49.542875374 +0100
***************
*** 1594,1600 ****
confirm qa
END
call writefile(lines, 'Xlines')
! execute '!' .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines'
call WaitForAssert({-> assert_true(filereadable('Xdialog'))})
call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))
--- 1594,1604 ----
confirm qa
END
call writefile(lines, 'Xlines')
! let prefix = '!'
! if has('win32')
! let prefix = '!start '
! endif
! execute prefix .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines'
call WaitForAssert({-> assert_true(filereadable('Xdialog'))})
call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))
*** ../vim-8.2.5111/src/version.c 2022-06-16 14:45:37.847772551 +0100
--- src/version.c 2022-06-16 16:35:46.106731494 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5112,
/**/
--
This message contains 78% recycled characters.
/// Bram Moolenaar -- Br...@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 ///