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)
This commit is contained in:
zeertzjq
2022-11-17 15:23:52 +00:00
committed by Bram Moolenaar
parent ee28c707e4
commit 780154bf7a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
895,
/**/
894,
/**/