Patch 8.2.3008 (after 8.2.3006)
Problem: Startup test may hang.
Solution: Add quit command in the script.
Files: src/testdir/test_startup.vim
*** ../vim-8.2.3007/src/testdir/test_startup.vim 2021-06-15
22:39:07.570028096 +0200
--- src/testdir/test_startup.vim 2021-06-15 23:04:23.566450415 +0200
***************
*** 1305,1313 ****
let lines =<< trim END
echo v:true
call writefile(['done'], 'Xresult')
END
call writefile(lines, 'Xscript')
! if RunVim([], [], '--cmd "source Xscript" --c q')
call assert_equal(['done'], readfile('Xresult'))
endif
call delete('Xscript')
--- 1305,1314 ----
let lines =<< trim END
echo v:true
call writefile(['done'], 'Xresult')
+ quit
END
call writefile(lines, 'Xscript')
! if RunVim([], [], '--cmd "source Xscript"')
call assert_equal(['done'], readfile('Xresult'))
endif
call delete('Xscript')
*** ../vim-8.2.3007/src/version.c 2021-06-15 22:54:25.179839176 +0200
--- src/version.c 2021-06-15 23:05:32.582282376 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 3008,
/**/
--
For humans, honesty is a matter of degree. Engineers are always honest in
matters of technology and human relationships. That's why it's a good idea
to keep engineers away from customers, romantic interests, and other people
who can't handle the truth.
(Scott Adams - The Dilbert principle)
/// 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/202106152106.15FL6TS61204721%40masaka.moolenaar.net.