mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 9.0.1755: CI still fails with sodium mlock error
Problem: CI still fails with sodium mlock error Solution: catch mlock failure Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
f244b2fbf2
commit
25dec33c9b
@ -332,7 +332,11 @@ func Test_uncrypt_xchacha20_3_persistent_undo()
|
|||||||
endtry
|
endtry
|
||||||
call assert_equal(0, &undofile)
|
call assert_equal(0, &undofile)
|
||||||
bw!
|
bw!
|
||||||
call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt')
|
try
|
||||||
|
call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt')
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E1230:/ " sodium_mlock() not possible, may happen at Github CI
|
||||||
|
throw 'Skipped: sodium_mlock() not possible'
|
||||||
|
endtry
|
||||||
" should fail
|
" should fail
|
||||||
norm! u
|
norm! u
|
||||||
call assert_match('Already at oldest change', execute(':1mess'))
|
call assert_match('Already at oldest change', execute(':1mess'))
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1755,
|
||||||
/**/
|
/**/
|
||||||
1754,
|
1754,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user