1
0
forked from aniani/vim

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 #11072)
This commit is contained in:
K.Takata
2022-09-07 13:01:11 +01:00
committed by Bram Moolenaar
parent 98aff658d5
commit e68f1348f2
2 changed files with 6 additions and 2 deletions

View File

@@ -1607,12 +1607,15 @@ func Test_gui_CTRL_SHIFT_V()
endfunc endfunc
func Test_gui_dialog_file() 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 let lines =<< trim END
file Xdialfile file Xdialfile
normal axxx normal axxx
confirm qa confirm qa
END END
call writefile(lines, 'Xlines') call writefile(lines, 'Xlines', 'D')
let prefix = '!' let prefix = '!'
if has('win32') if has('win32')
let prefix = '!start ' let prefix = '!start '
@@ -1624,7 +1627,6 @@ func Test_gui_dialog_file()
call delete('Xdialog') call delete('Xdialog')
call delete('Xdialfile') call delete('Xdialfile')
call delete('Xlines')
endfunc endfunc
" Test for sending low level key presses " Test for sending low level key presses

View File

@@ -703,6 +703,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
400,
/**/ /**/
399, 399,
/**/ /**/