mirror of
https://github.com/zoriya/vim.git
synced 2026-06-03 04:03:06 +00:00
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:
@@ -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
|
||||
|
||||
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
895,
|
||||
/**/
|
||||
894,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user