# HG changeset patch # User Bram Moolenaar # Date 1662552906 -7200 # Node ID 6d0056cc21a0f36da7a615baf08f96665f53798f # Parent 20cc510421ae8abe39b12913b351b46749b1494b patch 9.0.0400: GUI test sometimes hangs on CI Commit: https://github.com/vim/vim/commit/e68f1348f25766c669e27e1f7da2453c46e4c981 Author: K.Takata Date: Wed Sep 7 13:01:11 2022 +0100 patch 9.0.0400: GUI test sometimes hangs on CI Problem: GUI test sometimes hangs on CI. Solution: Delete a test file explicitly. (Ken Takata, closes https://github.com/vim/vim/issues/11072) 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 @@ -1607,12 +1607,15 @@ func Test_gui_CTRL_SHIFT_V() endfunc func Test_gui_dialog_file() + " make sure the file does not exist, otherwise a dialog makes Vim hang + call delete('Xdialfile') + let lines =<< trim END file Xdialfile normal axxx confirm qa END - call writefile(lines, 'Xlines') + call writefile(lines, 'Xlines', 'D') let prefix = '!' if has('win32') let prefix = '!start ' @@ -1624,7 +1627,6 @@ func Test_gui_dialog_file() call delete('Xdialog') call delete('Xdialfile') - call delete('Xlines') endfunc " Test for sending low level key presses diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 400, +/**/ 399, /**/ 398,