Patch 8.2.1273
Problem: MS-Windows: terminal test may leave file behind.
Solution: Wait a moment for process to end before deleting the file.
(Taro Muraoka, closes #6513)
Files: src/testdir/test_terminal.vim
*** ../vim-8.2.1272/src/testdir/test_terminal.vim 2020-07-11
22:14:54.318422203 +0200
--- src/testdir/test_terminal.vim 2020-07-22 22:21:25.285790062 +0200
***************
*** 808,813 ****
--- 808,820 ----
endif
let g:job = term_getjob(buf)
call WaitForAssert({-> assert_equal("dead", job_status(g:job))})
+
+ if has('win32')
+ " On Windows we cannot delete a file being used by a process. When
+ " job_status() returns "dead", the process remains for a short time.
+ " Just wait for a moment.
+ sleep 50m
+ endif
call delete('Xfile')
bwipe
*** ../vim-8.2.1272/src/version.c 2020-07-22 21:45:10.529629648 +0200
--- src/version.c 2020-07-22 22:23:09.213420128 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1273,
/**/
--
Time is money. Especially if you make clocks.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202007222024.06MKO3KU1108532%40masaka.moolenaar.net.