diff options
author | K.Takata <kentkt@csc.jp> | 2022-09-07 13:01:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-07 13:01:11 +0100 |
commit | e68f1348f25766c669e27e1f7da2453c46e4c981 (patch) | |
tree | f5886fc7a2b234ca76ff4c284af248b0bfa0078f /src/testdir/test_gui.vim | |
parent | 98aff658d5f97629d7c3a9fccac6c79fc9c6029d (diff) |
patch 9.0.0400: GUI test sometimes hangs on CIv9.0.0400
Problem: GUI test sometimes hangs on CI.
Solution: Delete a test file explicitly. (Ken Takata, closes #11072)
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index a2491458dd..b9b6bd8df3 100644 --- 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 |