Problem: GUI test sometimes hangs on CI.
Solution: Delete a test file explicitly. (Ken Takata, closes #11072)
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 '
call delete('Xdialog')
call delete('Xdialfile')
- call delete('Xlines')
endfunc
" Test for sending low level key presses
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 400,
/**/
399,
/**/