Patch 9.0.0895

5 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 17, 2022, 10:25:15 AM11/17/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages