To: vim_dev@googlegroups.com Subject: Patch 9.0.0895 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///