Skip to content

Commit a272624

Browse files
committed
patch 8.2.5112: gui test hangs on MS-Windows
Problem: Gui test hangs on MS-Windows. Solution: Use "!start" to start Vim.
1 parent de8be2b commit a272624

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/testdir/test_gui.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,11 @@ func Test_gui_dialog_file()
15941594
confirm qa
15951595
END
15961596
call writefile(lines, 'Xlines')
1597-
execute '!' .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines'
1597+
let prefix = '!'
1598+
if has('win32')
1599+
let prefix = '!start '
1600+
endif
1601+
execute prefix .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines'
15981602

15991603
call WaitForAssert({-> assert_true(filereadable('Xdialog'))})
16001604
call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
5112,
737739
/**/
738740
5111,
739741
/**/

0 commit comments

Comments
 (0)