Patch 9.0.0400
Problem:    GUI test sometimes hangs on CI.
Solution:   Delete a test file explicitly. (Ken Takata, closes #11072)
Files:      src/testdir/test_gui.vim


*** ../vim-9.0.0399/src/testdir/test_gui.vim    2022-09-06 17:00:11.351047779 
+0100
--- src/testdir/test_gui.vim    2022-09-07 12:59:16.870896575 +0100
***************
*** 1607,1618 ****
  endfunc
  
  func Test_gui_dialog_file()
    let lines =<< trim END
      file Xdialfile
      normal axxx
      confirm qa
    END
!   call writefile(lines, 'Xlines')
    let prefix = '!'
    if has('win32')
      let prefix = '!start '
--- 1607,1621 ----
  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', 'D')
    let prefix = '!'
    if has('win32')
      let prefix = '!start '
***************
*** 1624,1630 ****
  
    call delete('Xdialog')
    call delete('Xdialfile')
-   call delete('Xlines')
  endfunc
  
  " Test for sending low level key presses
--- 1627,1632 ----
*** ../vim-9.0.0399/src/version.c       2022-09-06 21:02:31.232361110 +0100
--- src/version.c       2022-09-07 13:00:17.250819749 +0100
***************
*** 705,706 ****
--- 705,708 ----
  {   /* Add new patch number below this line */
+ /**/
+     400,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
    your children are.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220907120332.7A52C1C14AC%40moolenaar.net.

Raspunde prin e-mail lui