Patch 9.0.0895
Problem: File renamed twice in test; missing feature check.
Solution: Remove a rename() call. Add check for cryptv feature.
(closes #11564)
Files: src/testdir/test_recover.vim
*** ../vim-9.0.0894/src/testdir/test_recover.vim 2022-10-05
21:45:23.775124283 +0100
--- src/testdir/test_recover.vim 2022-11-17 15:20:05.150604087 +0000
***************
*** 121,127 ****
call test_override("uptime", 0)
sleep 1
- call rename('Xswap', swname)
call feedkeys('e', 'tL')
redir => editOutput
edit Xswaptest
--- 121,126 ----
***************
*** 322,327 ****
--- 321,327 ----
" Test for :recover using an encrypted swap file
func Test_recover_encrypted_swap_file()
+ CheckFeature cryptv
CheckUnix
" Recover an encrypted file from the swap file without the original file
*** ../vim-9.0.0894/src/version.c 2022-11-17 14:55:40.598746960 +0000
--- src/version.c 2022-11-17 15:22:30.966574743 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 895,
/**/
--
>From "know your smileys":
:-)-O Smiling doctor with stethoscope
/// 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/20221117152500.564B51C0BB0%40moolenaar.net.