# HG changeset patch # User Bram Moolenaar # Date 1655394302 -7200 # Node ID 523a97eab1397e91016b22c2a482027146a5d180 # Parent 2e561df4e8ba1392236726702ca4c77d89b014c7 patch 8.2.5112: gui test hangs on MS-Windows Commit: https://github.com/vim/vim/commit/a272624c763fea9f98510bbc5b1f2b65a309c765 Author: Bram Moolenaar Date: Thu Jun 16 16:36:43 2022 +0100 patch 8.2.5112: gui test hangs on MS-Windows Problem: Gui test hangs on MS-Windows. Solution: Use "!start" to start Vim. diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1594,7 +1594,11 @@ func Test_gui_dialog_file() confirm qa END call writefile(lines, 'Xlines') - execute '!' .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S 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('')) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5112, +/**/ 5111, /**/ 5110,