# HG changeset patch # User Bram Moolenaar # Date 1668699003 -3600 # Node ID cc6522f808de7ab286c9f38c8b50acc1304b1d1d # Parent ede9128915bca5d60cb9a3d3993ac06cab128ba9 patch 9.0.0895: file renamed twice in test, missing feature check Commit: https://github.com/vim/vim/commit/780154bf7a07813e474105837c2b5998009d9c71 Author: zeertzjq Date: Thu Nov 17 15:23:52 2022 +0000 patch 9.0.0895: file renamed twice in test, missing feature check Problem: File renamed twice in test; missing feature check. Solution: Remove a rename() call. Add check for cryptv feature. (closes #11564) diff --git a/src/testdir/test_recover.vim b/src/testdir/test_recover.vim --- a/src/testdir/test_recover.vim +++ b/src/testdir/test_recover.vim @@ -121,7 +121,6 @@ func Test_nocatch_process_still_running( call test_override("uptime", 0) sleep 1 - call rename('Xswap', swname) call feedkeys('e', 'tL') redir => editOutput edit Xswaptest @@ -322,6 +321,7 @@ endfunc " 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 895, +/**/ 894, /**/ 893,