diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-16 16:36:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-16 16:36:43 +0100 |
commit | a272624c763fea9f98510bbc5b1f2b65a309c765 (patch) | |
tree | 29c9417c974f79247988d36f48830c5e547b1680 /src/testdir/test_gui.vim | |
parent | de8be2beaeb99961247766a9b8181429be1617d6 (diff) |
patch 8.2.5112: gui test hangs on MS-Windowsv8.2.5112
Problem: Gui test hangs on MS-Windows.
Solution: Use "!start" to start Vim.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 954cf2a066..373a0a25ce 100644 --- 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('<NL>')) |